Class AbstractBrowserFetcher

  • All Implemented Interfaces:
    ai.platon.pulsar.skeleton.workflow.fetch.BrowserFetcher , ai.platon.pulsar.skeleton.workflow.fetch.Fetcher , 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 fetchContent(WebPage page) Fetch page content
      Response fetchDeferred(String url) Fetch a url.
      Response fetchDeferred(String url, VolatileConfig volatileConfig) Fetch a url.
      abstract Response fetchContentDeferred(WebPage page) Fetch page content
      • Methods inherited from class ai.platon.pulsar.skeleton.workflow.fetch.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
    • Constructor Detail

      • AbstractBrowserFetcher

        AbstractBrowserFetcher()