public interface SSLOptions
Note: since version 3.2.0, users are encouraged to implement RemoteEndpointAwareSSLOptions
instead.
Modifier and Type | Method and Description |
---|---|
io.netty.handler.ssl.SslHandler |
newSSLHandler(io.netty.channel.socket.SocketChannel channel)
Deprecated.
use
RemoteEndpointAwareSSLOptions#newSSLHandler(SocketChannel, EndPoint)
instead. |
@Deprecated io.netty.handler.ssl.SslHandler newSSLHandler(io.netty.channel.socket.SocketChannel channel)
RemoteEndpointAwareSSLOptions#newSSLHandler(SocketChannel, EndPoint)
instead.This gets called each time the driver opens a new connection to a Cassandra host. The newly created handler will be added to the channel's pipeline to provide SSL support for the connection.
You don't necessarily need to implement this method directly; see the provided
implementations: JdkSSLOptions
and NettySSLOptions
.
channel
- the channel.Copyright © 2012–2023. All rights reserved.