@Incubating public static interface SslProvider.GenericSslContextSpecWithSniSupport<B> extends SslProvider.GenericSslContextSpec<B>
Modifier and Type | Method and Description |
---|---|
SslProvider.GenericSslContextSpecWithSniSupport<B> |
configure(Consumer<B> sslCtxBuilder)
Configures the underlying
SslContext . |
SslContext |
sslContext(Map<String,SslProvider> sniMappings)
Create a new
SslContext instance with the configured settings. |
sslContext
SslProvider.GenericSslContextSpecWithSniSupport<B> configure(Consumer<B> sslCtxBuilder)
SslContext
.configure
in interface SslProvider.GenericSslContextSpec<B>
sslCtxBuilder
- a callback for configuring the underlying SslContext
this
SslContext sslContext(Map<String,SslProvider> sniMappings) throws SSLException
SslContext
instance with the configured settings.sniMappings
- SNI
configuration per domainSslContext
instanceSSLException
- thrown when SslContext
instance cannot be created