java.lang.Object
com.darkcollective.relix.connectors.std.HttpFetcher

public final class HttpFetcher extends Object
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 Details

    • https

      public static Fetcher https()
      An HTTPS-only fetcher backed by HttpClient (follows redirects, 30-second timeouts). Rejects non-HTTPS URIs so a manifest cannot smuggle a plaintext download.
      Returns:
      a production fetcher