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