Class HttpClientBuilders
- java.lang.Object
-
- org.eclipse.rdf4j.http.client.util.HttpClientBuilders
-
public class HttpClientBuilders extends Object
Convenience utility class offering helper methods to configureHttpClients 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.HttpClientBuildergetSSLTrustAllHttpClientBuilder()Return anHttpClientBuilderthat can be used to build anHttpClientwhich trusts all certificates (particularly including self-signed certificates).
-
-
-
Method Detail
-
getSSLTrustAllHttpClientBuilder
public static org.apache.http.impl.client.HttpClientBuilder getSSLTrustAllHttpClientBuilder()
Return anHttpClientBuilderthat can be used to build anHttpClientwhich trusts all certificates (particularly including self-signed certificates).- Returns:
- a
HttpClientBuilderfor SSL trust all
-
-