Package reactor.netty.tcp
Interface SslProvider.GenericSslContextSpec<B>
- Type Parameters:
B- specific for the protocol SslContext builder
- All Known Subinterfaces:
SslProvider.GenericSslContextSpecWithSniSupport<B>,SslProvider.ProtocolSslContextSpec
- All Known Implementing Classes:
AbstractProtocolSslContextSpec,DefaultSslContextSpec,Http11SslContextSpec,Http2SslContextSpec,Http3SslContextSpec,TcpSslContextSpec
- Enclosing class:
- SslProvider
public static interface SslProvider.GenericSslContextSpec<B>
Generic SslContext builder that provides, specific for the protocol, default configuration.
The default configuration is applied prior any other custom configuration.
- Since:
- 1.2.0
-
Method Summary
Modifier and TypeMethodDescriptionConfigures the underlyingSslContext.Create a newSslContextinstance with the configured settings.
-
Method Details
-
configure
Configures the underlyingSslContext.- Parameters:
sslCtxBuilder- a callback for configuring the underlyingSslContext- Returns:
this
-
sslContext
Create a newSslContextinstance with the configured settings.- Returns:
- a new
SslContextinstance - Throws:
SSLException- thrown whenSslContextinstance cannot be created
-