Class SpdyHttpResponseStreamIdHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelHandler
org.jboss.netty.handler.codec.spdy.SpdyHttpResponseStreamIdHandler
- All Implemented Interfaces:
ChannelDownstreamHandler,ChannelHandler,ChannelUpstreamHandler
SimpleChannelHandler that takes care of adding the right streamId to the
HttpResponse if one is not present. This makes it possible to just re-use plan handlers current used
for HTTP.-
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 TypeMethodDescriptionvoidInvoked when a message object (e.g:ChannelBuffer) was received from a remote peer.voidInvoked whenChannel.write(Object)is called.Methods inherited from class org.jboss.netty.channel.SimpleChannelHandler
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete
-
Field Details
-
NO_ID
-
ids
-
-
Constructor Details
-
SpdyHttpResponseStreamIdHandler
public SpdyHttpResponseStreamIdHandler()
-
-
Method Details
-
messageReceived
Description copied from class:SimpleChannelHandlerInvoked when a message object (e.g:ChannelBuffer) was received from a remote peer.- Overrides:
messageReceivedin classSimpleChannelHandler- Throws:
Exception
-
writeRequested
Description copied from class:SimpleChannelHandlerInvoked whenChannel.write(Object)is called.- Overrides:
writeRequestedin classSimpleChannelHandler- Throws:
Exception
-