Class HttpFetcher
java.lang.Object
com.darkcollective.relix.connectors.std.HttpFetcher
The production
Fetcher: an HTTPS-only download over
HttpClient.
It lives with the connectors rather than beside the interface because it is the only thing in the download path that needs an HTTP client, and the engine that declares the seam must not carry one.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Fetcherhttps()An HTTPS-only fetcher backed byHttpClient(follows redirects, 30-second timeouts).
-
Method Details
-
https
An HTTPS-only fetcher backed byHttpClient(follows redirects, 30-second timeouts). Rejects non-HTTPS URIs so a manifest cannot smuggle a plaintext download.- Returns:
- a production fetcher
-