public class SslConnectionBuilder extends ConnectionBuilder
INIT_FAILURE, REDIS_URI
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, configureBootstrap, connection, connection, connectionBuilder, connectionEvents, connectionInitializer, createConnectionWatchdog, endpoint, endpoint, getHandshakeHandler, getRedisURI, getTimeout, reconnectionListener, socketAddress, socketAddressSupplier, timeout
public 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 ConnectionBuilder
public ChannelInitializer<Channel> build(SocketAddress socketAddress)
build
in class ConnectionBuilder
Copyright © 2023 lettuce.io. All rights reserved.