Class HttpClientBuilders
- java.lang.Object
-
- org.eclipse.rdf4j.http.client.util.HttpClientBuilders
-
public class HttpClientBuilders extends Object
Convenience utility class offering helper methods to configureHttpClient
s andHttpClientBuilders
.- Author:
- Andreas Schwarte
- See Also:
HttpClientDependent
-
-
Constructor Summary
Constructors Constructor Description HttpClientBuilders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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).
-
-
-
Method Detail
-
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
-
-