final class HttpTunnelingClientSocketChannel.ServletChannelHandler extends SimpleChannelUpstreamHandler
ChannelHandler.Sharable| Modifier and Type | Field and Description |
|---|---|
private boolean |
readingChunks |
(package private) SocketChannel |
virtualChannel |
| Constructor and Description |
|---|
ServletChannelHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
channelBound(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel is open and bound to a local address,
but not connected. |
void |
channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was closed and all its related resources
were released. |
void |
channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was disconnected from its remote peer. |
void |
channelInterestChanged(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel's interestOps
was changed. |
void |
channelUnbound(ChannelHandlerContext ctx,
ChannelStateEvent e)
Invoked when a
Channel was unbound from the current local address. |
void |
exceptionCaught(ChannelHandlerContext ctx,
ExceptionEvent e)
Invoked when an exception was raised by an I/O thread or a
ChannelHandler. |
void |
messageReceived(ChannelHandlerContext ctx,
MessageEvent e)
Invoked when a message object (e.g:
ChannelBuffer) was received
from a remote peer. |
channelConnected, channelOpen, childChannelClosed, childChannelOpen, handleUpstream, writeCompleteprivate volatile boolean readingChunks
final SocketChannel virtualChannel
public void channelBound(ChannelHandlerContext ctx, ChannelStateEvent e) throws java.lang.Exception
SimpleChannelUpstreamHandlerChannel is open and bound to a local address,
but not connected.
channelBound in class SimpleChannelUpstreamHandlerjava.lang.Exceptionpublic void messageReceived(ChannelHandlerContext ctx, MessageEvent e) throws java.lang.Exception
SimpleChannelUpstreamHandlerChannelBuffer) was received
from a remote peer.messageReceived in class SimpleChannelUpstreamHandlerjava.lang.Exceptionpublic void channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e) throws java.lang.Exception
SimpleChannelUpstreamHandlerChannel's interestOps
was changed.channelInterestChanged in class SimpleChannelUpstreamHandlerjava.lang.Exceptionpublic void channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) throws java.lang.Exception
SimpleChannelUpstreamHandlerChannel was disconnected from its remote peer.channelDisconnected in class SimpleChannelUpstreamHandlerjava.lang.Exceptionpublic void channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e) throws java.lang.Exception
SimpleChannelUpstreamHandlerChannel was unbound from the current local address.channelUnbound in class SimpleChannelUpstreamHandlerjava.lang.Exceptionpublic void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e) throws java.lang.Exception
SimpleChannelUpstreamHandlerChannel was closed and all its related resources
were released.channelClosed in class SimpleChannelUpstreamHandlerjava.lang.Exceptionpublic void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws java.lang.Exception
SimpleChannelUpstreamHandlerChannelHandler.exceptionCaught in class SimpleChannelUpstreamHandlerjava.lang.Exception