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, writeComplete
public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) throws Exception
SimpleChannelHandler
ChannelBuffer
) was received
from a remote peer.messageReceived
in class SimpleChannelHandler
Exception
public void writeRequested(ChannelHandlerContext ctx, MessageEvent e) throws Exception
SimpleChannelHandler
Channel.write(Object)
is called.writeRequested
in class SimpleChannelHandler
Exception
Copyright © 2008-2015 The Netty Project. All Rights Reserved.