public static class PreV5Handlers.LegacyDispatchHandler extends io.netty.channel.SimpleChannelInboundHandler<Message.Request>
Dispatcher
so that it can be used as an
channel inbound handler in pre-V5 pipelines.Modifier and Type | Method and Description |
---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
Message.Request request) |
acceptInboundMessage, channelRead
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, Message.Request request) throws java.lang.Exception
channelRead0
in class io.netty.channel.SimpleChannelInboundHandler<Message.Request>
java.lang.Exception
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
channelInactive
in interface io.netty.channel.ChannelInboundHandler
channelInactive
in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2009-2021 The Apache Software Foundation