public class HttpCollector extends Collector
NORCONEX_ASCII
Constructor and Description |
---|
HttpCollector()
Creates a non-configured HTTP collector.
|
HttpCollector(HttpCollectorConfig collectorConfig)
Creates and configure an HTTP Collector with the provided
configuration.
|
Modifier and Type | Method and Description |
---|---|
protected Crawler |
createCrawler(CrawlerConfig config) |
HttpCollectorConfig |
getCollectorConfig() |
static void |
main(String[] args)
Invokes the HTTP Collector from the command line.
|
clean, destroyCollector, exportDataStore, fireStopRequest, get, getCrawlers, getEventManager, getId, getReleaseVersions, getStreamFactory, getTempDir, getVersion, getWorkDir, importDataStore, initCollector, isRunning, lock, start, stop, toString, unlock
public HttpCollector()
public HttpCollector(HttpCollectorConfig collectorConfig)
collectorConfig
- HTTP Collector configurationpublic static void main(String[] args)
args
- Invoke it once without any arguments to get a
list of command-line options.public HttpCollectorConfig getCollectorConfig()
getCollectorConfig
in class Collector
protected Crawler createCrawler(CrawlerConfig config)
createCrawler
in class Collector
Copyright © 2009–2023 Norconex Inc.. All rights reserved.