Package com.datastax.driver.core
Interface SSLOptions
-
- All Known Subinterfaces:
ExtendedRemoteEndpointAwareSslOptions,RemoteEndpointAwareSSLOptions
- All Known Implementing Classes:
JdkSSLOptions,NettySSLOptions,RemoteEndpointAwareJdkSSLOptions,RemoteEndpointAwareNettySSLOptions,SniSSLOptions
public interface SSLOptionsDefines how the driver configures SSL connections.Note: since version 3.2.0, users are encouraged to implement
RemoteEndpointAwareSSLOptionsinstead.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SslHandlernewSSLHandler(SocketChannel channel)Deprecated.useRemoteEndpointAwareSSLOptions#newSSLHandler(SocketChannel, EndPoint)instead.
-
-
-
Method Detail
-
newSSLHandler
@Deprecated SslHandler newSSLHandler(SocketChannel channel)
Deprecated.useRemoteEndpointAwareSSLOptions#newSSLHandler(SocketChannel, EndPoint)instead.Creates a new SSL handler for the given Netty channel.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:
JdkSSLOptionsandNettySSLOptions.- Parameters:
channel- the channel.- Returns:
- the handler.
-
-