Class HttpFetchClient
java.lang.Object
com.norconex.collector.http.fetch.HttpFetchClient
Fetches HTTP resources, trying all configured http fetchers, defaulting
to
GenericHttpFetcher with default configuration if none are defined.- Since:
- 3.0.0
- Author:
- Pascal Essiembre
-
Constructor Summary
ConstructorsConstructorDescriptionHttpFetchClient(CachedStreamFactory streamFactory, List<IHttpFetcher> httpFetchers, int maxRetries, long retryDelay) -
Method Summary
-
Constructor Details
-
HttpFetchClient
public HttpFetchClient(CachedStreamFactory streamFactory, List<IHttpFetcher> httpFetchers, int maxRetries, long retryDelay)
-
-
Method Details
-
getStreamFactory
-
fetch
-