@Deprecated public class SSLConnectionSocketFactoryBuilder extends Object
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()
.
Constructor and Description |
---|
SSLConnectionSocketFactoryBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SSLConnectionSocketFactory |
build()
Deprecated.
|
static SSLConnectionSocketFactoryBuilder |
create()
Deprecated.
|
SSLConnectionSocketFactoryBuilder |
setCiphers(String... ciphers)
Deprecated.
Sets enabled ciphers.
|
SSLConnectionSocketFactoryBuilder |
setHostnameVerifier(HostnameVerifier hostnameVerifier)
Deprecated.
Sets
HostnameVerifier instance. |
SSLConnectionSocketFactoryBuilder |
setSslContext(SSLContext sslContext)
Deprecated.
Sets
SSLContext instance. |
SSLConnectionSocketFactoryBuilder |
setTlsVersions(String... tlslVersions)
Deprecated.
Sets enabled
TLS versions. |
SSLConnectionSocketFactoryBuilder |
setTlsVersions(org.apache.hc.core5.http.ssl.TLS... tlslVersions)
Deprecated.
Sets enabled
TLS versions. |
SSLConnectionSocketFactoryBuilder |
useSystemProperties()
Deprecated.
Use system properties when creating and configuring default
implementations.
|
public SSLConnectionSocketFactoryBuilder()
public static SSLConnectionSocketFactoryBuilder create()
public SSLConnectionSocketFactoryBuilder setSslContext(SSLContext sslContext)
SSLContext
instance.public final SSLConnectionSocketFactoryBuilder setTlsVersions(String... tlslVersions)
TLS
versions.public final SSLConnectionSocketFactoryBuilder setTlsVersions(org.apache.hc.core5.http.ssl.TLS... tlslVersions)
TLS
versions.public final SSLConnectionSocketFactoryBuilder setCiphers(String... ciphers)
public SSLConnectionSocketFactoryBuilder setHostnameVerifier(HostnameVerifier hostnameVerifier)
HostnameVerifier
instance.public final SSLConnectionSocketFactoryBuilder useSystemProperties()
public SSLConnectionSocketFactory build()
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.