Class HttpClientBuilders

java.lang.Object
org.eclipse.rdf4j.http.client.util.HttpClientBuilders

public class HttpClientBuilders extends Object
Convenience utility class offering helper methods to configure HttpClients and HttpClientBuilders.
Author:
Andreas Schwarte
See Also:
  • Constructor Details

    • HttpClientBuilders

      public HttpClientBuilders()
  • Method Details

    • 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