Package reactor.netty.tcp
Interface SslProvider.GenericSslContextSpecWithSniSupport<B>
- All Superinterfaces:
SslProvider.GenericSslContextSpec<B>
- All Known Implementing Classes:
Http3SslContextSpec
- Enclosing class:
- SslProvider
@Incubating
public static interface SslProvider.GenericSslContextSpecWithSniSupport<B>
extends SslProvider.GenericSslContextSpec<B>
-
Method Summary
Modifier and TypeMethodDescriptionConfigures the underlyingSslContext.sslContext(Map<String, SslProvider> sniMappings) Create a newSslContextinstance with the configured settings.Methods inherited from interface reactor.netty.tcp.SslProvider.GenericSslContextSpec
sslContext
-
Method Details
-
configure
Configures the underlyingSslContext.- Specified by:
configurein interfaceSslProvider.GenericSslContextSpec<B>- Parameters:
sslCtxBuilder- a callback for configuring the underlyingSslContext- Returns:
this
-
sslContext
Create a newSslContextinstance with the configured settings.- Parameters:
sniMappings-SNIconfiguration per domain- Returns:
- a new
SslContextinstance - Throws:
SSLException- thrown whenSslContextinstance cannot be created
-