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 newSslContext
instance with the configured settings.Methods inherited from interface reactor.netty.tcp.SslProvider.GenericSslContextSpec
sslContext
-
Method Details
-
configure
Configures the underlyingSslContext
.- Specified by:
configure
in interfaceSslProvider.GenericSslContextSpec<B>
- Parameters:
sslCtxBuilder
- a callback for configuring the underlyingSslContext
- Returns:
this
-
sslContext
Create a newSslContext
instance with the configured settings.- Parameters:
sniMappings
-SNI
configuration per domain- Returns:
- a new
SslContext
instance - Throws:
SSLException
- thrown whenSslContext
instance cannot be created
-