Package ai.platon.pulsar.skeleton.crawl
Interface CrawlEventHandlers
-
- All Implemented Interfaces:
public interface CrawlEventHandlersEvent handlers during the crawl phase of the webpage lifecycle.
-
-
Method Summary
Modifier and Type Method Description abstract CrawlEventHandlerschain(CrawlEventHandlers other)Chain the other crawl event handler to the tail of this one. abstract UrlAwareEventHandlergetOnWillLoad()Fire when the url is about to be loaded. abstract UrlAwareEventHandlergetOnLoad()Fire to load the url. abstract UrlAwareWebPageEventHandlergetOnLoaded()Fire when the url is loaded. -
-
Method Detail
-
chain
abstract CrawlEventHandlers chain(CrawlEventHandlers other)
Chain the other crawl event handler to the tail of this one.
-
getOnWillLoad
abstract UrlAwareEventHandler getOnWillLoad()
Fire when the url is about to be loaded.
-
getOnLoad
abstract UrlAwareEventHandler getOnLoad()
Fire to load the url.
-
getOnLoaded
abstract UrlAwareWebPageEventHandler getOnLoaded()
Fire when the url is loaded.
-
-
-
-