public interface RemoteEndpointAwareSSLOptions extends SSLOptions
SSLOptionswith the possibility to pass remote endpoint data when instantiating
SslHandlers. This is needed when e.g. hostname verification is required. See JAVA-1364 for details. The reason this is a child interface is to keep
SSLOptionsbackwards-compatible. This interface may be be merged into
SSLOptionsin a later major release.
|Modifier and Type||Method and Description|
Creates a new SSL handler for the given Netty channel and the given remote endpoint.
SslHandler newSSLHandler(SocketChannel channel, InetSocketAddress remoteEndpoint)
channel- the channel.
remoteEndpoint- the remote endpoint address.
Copyright © 2012–2017. All rights reserved.