Class SSLConnectionSocketFactoryBuilder
java.lang.Object
org.apache.hc.client5.http.ssl.SSLConnectionSocketFactoryBuilder
Deprecated.
Builder for
SSLConnectionSocketFactory instances.
When a particular component is not explicitly set this class will
use its default implementation. System properties will be taken
into account when configuring the default implementations when
useSystemProperties() method is called prior to calling
build().
- ssl.TrustManagerFactory.algorithm
- javax.net.ssl.trustStoreType
- javax.net.ssl.trustStore
- javax.net.ssl.trustStoreProvider
- javax.net.ssl.trustStorePassword
- ssl.KeyManagerFactory.algorithm
- javax.net.ssl.keyStoreType
- javax.net.ssl.keyStore
- javax.net.ssl.keyStoreProvider
- javax.net.ssl.keyStorePassword
- https.protocols
- https.cipherSuites
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String[]Deprecated.private HostnameVerifierDeprecated.private SSLContextDeprecated.private booleanDeprecated.private String[]Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.create()Deprecated.setCiphers(String... ciphers) Deprecated.Sets enabled ciphers.setHostnameVerifier(HostnameVerifier hostnameVerifier) Deprecated.SetsHostnameVerifierinstance.setSslContext(SSLContext sslContext) Deprecated.SetsSSLContextinstance.setTlsVersions(String... tlslVersions) Deprecated.Sets enabledTLSversions.setTlsVersions(org.apache.hc.core5.http.ssl.TLS... tlslVersions) Deprecated.Sets enabledTLSversions.Deprecated.Use system properties when creating and configuring default implementations.
-
Field Details
-
sslContext
Deprecated. -
tlsVersions
Deprecated. -
ciphers
Deprecated. -
hostnameVerifier
Deprecated. -
systemProperties
private boolean systemPropertiesDeprecated.
-
-
Constructor Details
-
SSLConnectionSocketFactoryBuilder
public SSLConnectionSocketFactoryBuilder()Deprecated.
-
-
Method Details
-
create
Deprecated. -
setSslContext
-
setTlsVersions
Deprecated.Sets enabledTLSversions.- Returns:
- this instance.
-
setTlsVersions
public final SSLConnectionSocketFactoryBuilder setTlsVersions(org.apache.hc.core5.http.ssl.TLS... tlslVersions) Deprecated.Sets enabledTLSversions.- Returns:
- this instance.
-
setCiphers
Deprecated.Sets enabled ciphers.- Returns:
- this instance.
-
setHostnameVerifier
-
useSystemProperties
Deprecated.Use system properties when creating and configuring default implementations.- Returns:
- this instance.
-
build
Deprecated.
-
DefaultClientTlsStrategy