Class AbstractBrowserFetcher
-
- All Implemented Interfaces:
-
ai.platon.pulsar.skeleton.crawl.fetch.Fetcher,ai.platon.pulsar.skeleton.crawl.fetch.driver.BrowserFetcher,java.lang.AutoCloseable
public abstract class AbstractBrowserFetcher implements BrowserFetcher, FetcherCreated by Vincent on 18-1-1. Copyright @ 2013-2023 Platon AI. All rights reserved
-
-
Constructor Summary
Constructors Constructor Description AbstractBrowserFetcher()
-
Method Summary
Modifier and Type Method Description abstract BooleanisActive()Responsefetch(String url)Responsefetch(String url, VolatileConfig conf)ResponsefetchContent(WebPage page)Fetch page content ResponsefetchDeferred(String url)ResponsefetchDeferred(String url, VolatileConfig volatileConfig)abstract ResponsefetchContentDeferred(WebPage page)Fetch page content -
Methods inherited from class ai.platon.pulsar.skeleton.crawl.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
-
-
Method Detail
-
fetchContent
Response fetchContent(WebPage page)
Fetch page content
-
fetchDeferred
Response fetchDeferred(String url)
-
fetchDeferred
Response fetchDeferred(String url, VolatileConfig volatileConfig)
-
fetchContentDeferred
abstract Response fetchContentDeferred(WebPage page)
Fetch page content
-
-
-
-