public static interface SslProvider.SslContextSpec
Modifier and Type | Method and Description |
---|---|
SslProvider.Builder |
sslContext(SslContext sslContext)
The SslContext to set when configuring SSL.
|
SslProvider.Builder |
sslContext(SslProvider.GenericSslContextSpec<?> spec)
SslContext builder that provides, specific for the protocol, default configuration
e.g.
|
SslProvider.Builder |
sslContext(SslProvider.ProtocolSslContextSpec spec)
Deprecated.
as of 1.2.0. Prefer using
sslContext(SslProvider.GenericSslContextSpec) .
This method will be removed in version 1.3.0. |
SslProvider.Builder sslContext(SslProvider.GenericSslContextSpec<?> spec)
DefaultSslContextSpec
, TcpSslContextSpec
etc.
The default configuration is applied before any other custom configuration.spec
- SslContext builder that provides, specific for the protocol, default configuration@Deprecated SslProvider.Builder sslContext(SslProvider.ProtocolSslContextSpec spec)
sslContext(SslProvider.GenericSslContextSpec)
.
This method will be removed in version 1.3.0.DefaultSslContextSpec
, TcpSslContextSpec
etc.
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