public static interface SslProvider.ProtocolSslContextSpec
| Modifier and Type | Method and Description |
|---|---|
SslProvider.ProtocolSslContextSpec |
configure(Consumer<io.netty.handler.ssl.SslContextBuilder> sslCtxBuilder)
Configures the underlying
SslContextBuilder. |
io.netty.handler.ssl.SslContext |
sslContext()
Create a new
SslContext instance with the configured settings. |
SslProvider.ProtocolSslContextSpec configure(Consumer<io.netty.handler.ssl.SslContextBuilder> sslCtxBuilder)
SslContextBuilder.sslCtxBuilder - a callback for configuring the underlying SslContextBuilderthisio.netty.handler.ssl.SslContext sslContext()
throws SSLException
SslContext instance with the configured settings.SslContext instanceSSLException - thrown when SslContext instance cannot be created