public class ForwardingHandler
extends io.netty.channel.SimpleChannelInboundHandler<java.lang.Object>
BareRequest and BareResponse.
For each tcp connection, a single ForwardingHandler is created.
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg) |
|
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
ensureNotSharable, handlerAdded, handlerRemoved, isSharablechannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredpublic void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
channelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterprotected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object msg)
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<java.lang.Object>public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause)
exceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.