public static interface SslProvider.SslContextSpec
Modifier and Type | Method and Description |
---|---|
SslProvider.Builder |
sslContext(SslContext sslContext)
The SslContext to set when configuring SSL.
|
SslProvider.DefaultConfigurationSpec |
sslContext(SslContextBuilder sslCtxBuilder)
Deprecated.
as of 1.0.6. Prefer
#sslContext(ProtocolSslContextSpec) , where the default
configuration is applied before any other custom configuration.
This method will be removed in version 1.2.0. |
SslProvider.Builder |
sslContext(SslProvider.ProtocolSslContextSpec spec)
SslContext builder that provides, specific for the protocol, default configuration
e.g.
|
SslProvider.Builder sslContext(SslProvider.ProtocolSslContextSpec spec)
DefaultSslContextSpec
, TcpSslContextSpec
etc.
As opposed to sslContext(SslContextBuilder)
, the default configuration is applied before
any other custom configuration.spec
- SslContext builder that provides, specific for the protocol, default configurationSslProvider.Builder sslContext(SslContext sslContext)
sslContext
- The context to set when configuring SSL@Deprecated SslProvider.DefaultConfigurationSpec sslContext(SslContextBuilder sslCtxBuilder)
#sslContext(ProtocolSslContextSpec)
, where the default
configuration is applied before any other custom configuration.
This method will be removed in version 1.2.0.SslContext
. The default configuration is applied after
the custom configuration.