Package reactor.netty.tcp
Interface SslProvider.SslContextSpec
- Enclosing class:
- SslProvider
public static interface SslProvider.SslContextSpec
-
Method Summary
Modifier and TypeMethodDescriptionsslContext
(SslContext sslContext) The SslContext to set when configuring SSL.SslContext builder that provides, specific for the protocol, default configuration e.g.Deprecated.as of 1.2.0.
-
Method Details
-
sslContext
SslContext builder that provides, specific for the protocol, default configuration e.g.DefaultSslContextSpec
,TcpSslContextSpec
etc. The default configuration is applied before any other custom configuration.- Parameters:
spec
- SslContext builder that provides, specific for the protocol, default configuration- Returns:
- this
- Since:
- 1.2.0
-
sslContext
Deprecated.as of 1.2.0. Prefer usingsslContext(SslProvider.GenericSslContextSpec)
. This method will be removed in version 1.3.0.SslContext builder that provides, specific for the protocol, default configuration e.g.DefaultSslContextSpec
,TcpSslContextSpec
etc. The default configuration is applied before any other custom configuration.- Parameters:
spec
- SslContext builder that provides, specific for the protocol, default configuration- Returns:
- this
- Since:
- 1.0.6
-
sslContext
The SslContext to set when configuring SSL.- Parameters:
sslContext
- The context to set when configuring SSL- Returns:
- this
-