public class SpdyHttpResponseStreamIdHandler extends SimpleChannelHandler
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.ChannelHandler.Sharable| Constructor and Description |
|---|
SpdyHttpResponseStreamIdHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
messageReceived(ChannelHandlerContext ctx,
MessageEvent e)
Invoked when a message object (e.g:
ChannelBuffer) was received
from a remote peer. |
void |
writeRequested(ChannelHandlerContext ctx,
MessageEvent e)
Invoked when
Channel.write(Object) is called. |
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeCompletepublic void messageReceived(ChannelHandlerContext ctx, MessageEvent e) throws Exception
SimpleChannelHandlerChannelBuffer) was received
from a remote peer.messageReceived in class SimpleChannelHandlerExceptionpublic void writeRequested(ChannelHandlerContext ctx, MessageEvent e) throws Exception
SimpleChannelHandlerChannel.write(Object) is called.writeRequested in class SimpleChannelHandlerExceptionCopyright © 2008-2015 The Netty Project. All Rights Reserved.