Class SingleHostHttpClientProvider


  • public class SingleHostHttpClientProvider
    extends Object
    Create an HttpClient to target a single host. It validates the certificate to authenticate the server in TLS communication with this single name. It can be used to target a single host using its IP address(es) instead of its hostname while keeping a high protection against Man-in-the-middle attack.
    • Constructor Detail

      • SingleHostHttpClientProvider

        public SingleHostHttpClientProvider()