RemoteEndpointAwareNettySSLOptions instead.@Deprecated public class NettySSLOptions extends Object implements SSLOptions
SSLOptions implementation based on Netty's SSL context.
Netty has the ability to use OpenSSL if available, instead of the JDK's built-in engine. This yields better performance.| Modifier and Type | Field and Description |
|---|---|
protected SslContext |
context
Deprecated.
|
| Constructor and Description |
|---|
NettySSLOptions(SslContext context)
Deprecated.
Create a new instance from a given context.
|
| Modifier and Type | Method and Description |
|---|---|
SslHandler |
newSSLHandler(SocketChannel channel)
Deprecated.
Creates a new SSL handler for the given Netty channel.
|
protected final SslContext context
public NettySSLOptions(SslContext context)
context - the Netty context. SslContextBuilder.forClient() provides a fluent API to build it.public SslHandler newSSLHandler(SocketChannel channel)
SSLOptionsJdkSSLOptions and
NettySSLOptions.newSSLHandler in interface SSLOptionschannel - the channel.Copyright © 2012–2018. All rights reserved.