Class HttpClientBuilders
java.lang.Object
org.eclipse.rdf4j.http.client.util.HttpClientBuilders
Convenience utility class offering helper methods to configure
HttpClient
s and HttpClientBuilders
.- Author:
- Andreas Schwarte
- See Also:
HttpClientDependent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.http.impl.client.HttpClientBuilder
Return anHttpClientBuilder
that can be used to build anHttpClient
which trusts all certificates (particularly including self-signed certificates).
-
Constructor Details
-
HttpClientBuilders
public HttpClientBuilders()
-
-
Method Details
-
getSSLTrustAllHttpClientBuilder
public static org.apache.http.impl.client.HttpClientBuilder getSSLTrustAllHttpClientBuilder()Return anHttpClientBuilder
that can be used to build anHttpClient
which trusts all certificates (particularly including self-signed certificates).- Returns:
- a
HttpClientBuilder
for SSL trust all
-