Class HttpTunnelingClientSocketChannel.ServletChannelHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.channel.socket.http.HttpTunnelingClientSocketChannel.ServletChannelHandler
- All Implemented Interfaces:
ChannelHandler
,ChannelUpstreamHandler
- Enclosing class:
- HttpTunnelingClientSocketChannel
final class HttpTunnelingClientSocketChannel.ServletChannelHandler
extends SimpleChannelUpstreamHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when aChannel
is open and bound to a local address, but not connected.void
Invoked when aChannel
was closed and all its related resources were released.void
Invoked when aChannel
was disconnected from its remote peer.void
Invoked when aChannel
'sinterestOps
was changed.void
Invoked when aChannel
was unbound from the current local address.void
Invoked when an exception was raised by an I/O thread or aChannelHandler
.void
Invoked when a message object (e.g:ChannelBuffer
) was received from a remote peer.Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelConnected, channelOpen, childChannelClosed, childChannelOpen, handleUpstream, writeComplete
-
Field Details
-
readingChunks
private volatile boolean readingChunks -
virtualChannel
-
-
Constructor Details
-
ServletChannelHandler
ServletChannelHandler()
-
-
Method Details
-
channelBound
Description copied from class:SimpleChannelUpstreamHandler
Invoked when aChannel
is open and bound to a local address, but not connected.
Be aware that this event is fired from within the I/O thread. You should never execute any heavy operation in there as it will block the dispatching to other workers!- Overrides:
channelBound
in classSimpleChannelUpstreamHandler
- Throws:
Exception
-
messageReceived
Description copied from class:SimpleChannelUpstreamHandler
Invoked when a message object (e.g:ChannelBuffer
) was received from a remote peer.- Overrides:
messageReceived
in classSimpleChannelUpstreamHandler
- Throws:
Exception
-
channelInterestChanged
Description copied from class:SimpleChannelUpstreamHandler
Invoked when aChannel
'sinterestOps
was changed.- Overrides:
channelInterestChanged
in classSimpleChannelUpstreamHandler
- Throws:
Exception
-
channelDisconnected
Description copied from class:SimpleChannelUpstreamHandler
Invoked when aChannel
was disconnected from its remote peer.- Overrides:
channelDisconnected
in classSimpleChannelUpstreamHandler
- Throws:
Exception
-
channelUnbound
Description copied from class:SimpleChannelUpstreamHandler
Invoked when aChannel
was unbound from the current local address.- Overrides:
channelUnbound
in classSimpleChannelUpstreamHandler
- Throws:
Exception
-
channelClosed
Description copied from class:SimpleChannelUpstreamHandler
Invoked when aChannel
was closed and all its related resources were released.- Overrides:
channelClosed
in classSimpleChannelUpstreamHandler
- Throws:
Exception
-
exceptionCaught
Description copied from class:SimpleChannelUpstreamHandler
Invoked when an exception was raised by an I/O thread or aChannelHandler
.- Overrides:
exceptionCaught
in classSimpleChannelUpstreamHandler
- Throws:
Exception
-