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 org.jboss.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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:SimpleChannelUpstreamHandler
Invoked when a message object (e.g:ChannelBuffer
) was received from a remote peer.- Overrides:
messageReceived
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
-