Class HttpTunnelingServlet.OutboundConnectionHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.channel.socket.http.HttpTunnelingServlet.OutboundConnectionHandler
- All Implemented Interfaces:
ChannelHandler, ChannelUpstreamHandler
- Enclosing class:
HttpTunnelingServlet
private static final class HttpTunnelingServlet.OutboundConnectionHandler
extends SimpleChannelUpstreamHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when an exception was raised by an I/O thread or aChannelHandler.voidInvoked when a message object (e.g:ChannelBuffer) was received from a remote peer.Methods inherited from class SimpleChannelUpstreamHandler
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete
-
Field Details
-
out
private final javax.servlet.ServletOutputStream out
-
-
Constructor Details
-
OutboundConnectionHandler
public OutboundConnectionHandler(javax.servlet.ServletOutputStream out)
-
-
Method Details
-
messageReceived
Description copied from class:SimpleChannelUpstreamHandlerInvoked when a message object (e.g:ChannelBuffer) was received from a remote peer.- Overrides:
messageReceivedin classSimpleChannelUpstreamHandler- Throws:
Exception
-
exceptionCaught
Description copied from class:SimpleChannelUpstreamHandlerInvoked when an exception was raised by an I/O thread or aChannelHandler.- Overrides:
exceptionCaughtin classSimpleChannelUpstreamHandler- Throws:
Exception
-