public class SslRedisHandshakeHandler extends RedisHandshakeHandler
ConnectionInitializer
. Delays channel activation to after the
SSL handshake.ChannelHandler.Sharable
Constructor and Description |
---|
SslRedisHandshakeHandler(ConnectionInitializer connectionInitializer,
ClientResources clientResources,
Duration initializeTimeout) |
Modifier and Type | Method and Description |
---|---|
void |
channelActive(ChannelHandlerContext ctx) |
void |
userEventTriggered(ChannelHandlerContext ctx,
Object evt) |
channelInactive, channelInitialized, channelRegistered, exceptionCaught, fail, succeed
channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerAdded, handlerRemoved
public SslRedisHandshakeHandler(ConnectionInitializer connectionInitializer, ClientResources clientResources, Duration initializeTimeout)
public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception
userEventTriggered
in interface ChannelInboundHandler
userEventTriggered
in class ChannelInboundHandlerAdapter
Exception
public void channelActive(ChannelHandlerContext ctx)
channelActive
in interface ChannelInboundHandler
channelActive
in class RedisHandshakeHandler
Copyright © 2020 lettuce.io. All rights reserved.