public class SslConnectionBuilder extends ConnectionBuilder
| Constructor and Description |
|---|
SslConnectionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ChannelInitializer<Channel> |
build(SocketAddress socketAddress) |
protected List<ChannelHandler> |
buildHandlers() |
static boolean |
isSslChannelInitializer(ChannelHandler handler)
Check whether the
ChannelHandler is a SslChannelInitializer. |
SslConnectionBuilder |
ssl(RedisURI redisURI) |
static SslConnectionBuilder |
sslConnectionBuilder() |
static ChannelHandler |
withSocketAddress(ChannelHandler handler,
SocketAddress socketAddress)
Create an updated
SslChannelInitializer with the new SocketAddress in place. |
apply, bootstrap, bootstrap, channelGroup, clientOptions, clientOptions, clientResources, clientResources, commandHandler, connection, connection, connectionBuilder, connectionEvents, connectionInitializer, createConnectionWatchdog, endpoint, endpoint, getHandshakeHandler, getTimeout, reconnectionListener, socketAddress, socketAddressSupplier, timeoutpublic SslConnectionBuilder ssl(RedisURI redisURI)
public static SslConnectionBuilder sslConnectionBuilder()
public static boolean isSslChannelInitializer(ChannelHandler handler)
ChannelHandler is a SslChannelInitializer.handler - public static ChannelHandler withSocketAddress(ChannelHandler handler, SocketAddress socketAddress)
SslChannelInitializer with the new SocketAddress in place.handler - socketAddress - protected List<ChannelHandler> buildHandlers()
buildHandlers in class ConnectionBuilderpublic ChannelInitializer<Channel> build(SocketAddress socketAddress)
build in class ConnectionBuilderCopyright © 2022 lettuce.io. All rights reserved.