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 TypeMethodDescriptionvoid
Invoked when a message object (e.g:ChannelBuffer
) was received from a remote peer.void
Invoked 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:SimpleChannelHandler
Invoked when a message object (e.g:ChannelBuffer
) was received from a remote peer.- Overrides:
messageReceived
in classSimpleChannelHandler
- Throws:
Exception
-
writeRequested
Description copied from class:SimpleChannelHandler
Invoked whenChannel.write(Object)
is called.- Overrides:
writeRequested
in classSimpleChannelHandler
- Throws:
Exception
-