Class AbstractBrowserFetcher

  • All Implemented Interfaces:
    ai.platon.pulsar.skeleton.workflow.fetch.Fetcher , ai.platon.pulsar.skeleton.workflow.fetch.driver.BrowserFetcher , java.lang.AutoCloseable

    
    public abstract class AbstractBrowserFetcher
     implements BrowserFetcher, Fetcher
                        

    Created by Vincent on 18-1-1. Copyright @ 2013-2023 Platon AI. All rights reserved

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Boolean isActive
      private final ImmutableConfig conf
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Boolean isActive()
      Response fetch(String url)
      Response fetch(String url, VolatileConfig conf)
      Response fetchContent(WebPage page) Fetch page content
      Response fetchDeferred(String url)
      Response fetchDeferred(String url, VolatileConfig volatileConfig)
      abstract Response fetchContentDeferred(WebPage page) Fetch page content
      • Methods inherited from class ai.platon.pulsar.skeleton.workflow.fetch.driver.BrowserFetcher

        cancel, cancelAll, getConf, reset
      • Methods inherited from class java.lang.AutoCloseable

        close
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait