Uses of Interface
org.jweaver.crawler.JWeaverCrawler.Builder
-
Uses of JWeaverCrawler.Builder in org.jweaver.crawler
Modifier and TypeMethodDescriptionstatic JWeaverCrawler.Builder
JWeaverCrawler.builder()
Returns a new instance of the builder for configuring and creating a JWeaverCrawler.JWeaverCrawler.Builder.exportConfiguration
(ExportConfig configuration) Sets the export configuration for configuring data export options.JWeaverCrawler.Builder.httpClient
(HttpClient httpClient) Sets the HTTP client to be used by the crawler for making HTTP requests.JWeaverCrawler.Builder.maxDepth
(int maxDepth) Sets the maximum depth of crawling .JWeaverCrawler.Builder.parser
(DocumentParser documentParser) Sets the document parser to be used by the crawler for parsing relevant information from HTML body.JWeaverCrawler.Builder.politenessDelay
(Duration duration) Sets the politeness delay between consecutive requests made by the crawler to the same hostJWeaverCrawler.Builder.writer
(JWeaverWriter writer) Sets the writer for exporting the crawled data. -
Uses of JWeaverCrawler.Builder in org.jweaver.crawler.internal.runner
Modifier and TypeClassDescriptionfinal class
A concrete implementation of theJWeaverCrawler.Builder
interface used to configure and build instances ofJWeaverCrawler
.Modifier and TypeMethodDescriptionJWeaverBuilderImpl.exportConfiguration
(ExportConfig exportConfiguration) JWeaverBuilderImpl.httpClient
(HttpClient httpClient) JWeaverBuilderImpl.maxDepth
(int maxDepth) JWeaverBuilderImpl.parser
(DocumentParser documentParser) JWeaverBuilderImpl.politenessDelay
(Duration politenessDelay) JWeaverBuilderImpl.writer
(JWeaverWriter writer)