Class HttpClientBuilders


  • public class HttpClientBuilders
    extends java.lang.Object
    Convenience utility class offering helper methods to configure HttpClients and HttpClientBuilders.
    See Also:
    HttpClientDependent
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.http.impl.client.HttpClientBuilder getSSLTrustAllHttpClientBuilder()
      Return an HttpClientBuilder that can be used to build an HttpClient which trusts all certificates (particularly including self-signed certificates).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpClientBuilders

        public HttpClientBuilders()
    • Method Detail

      • getSSLTrustAllHttpClientBuilder

        public static org.apache.http.impl.client.HttpClientBuilder getSSLTrustAllHttpClientBuilder()
        Return an HttpClientBuilder that can be used to build an HttpClient which trusts all certificates (particularly including self-signed certificates).
        Returns:
        a HttpClientBuilder for SSL trust all