public class SpdyHttpResponseStreamIdHandler extends io.netty.handler.codec.MessageToMessageCodec<Object,HttpMessage>
MessageToMessageCodec that takes care of adding the right SpdyHttpHeaders.Names.STREAM_ID to the
HttpMessage if one is not present. This makes it possible to just re-use plan handlers current used
for HTTP.| Constructor and Description |
|---|
SpdyHttpResponseStreamIdHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptInboundMessage(Object msg) |
protected Object |
decode(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected Object |
encode(io.netty.channel.ChannelHandlerContext ctx,
HttpMessage msg) |
acceptOutboundMessage, flush, freeInboundBuffer, freeOutboundBuffer, inboundBufferUpdated, newInboundBuffer, newOutboundBufferbind, close, connect, deregister, disconnect, read, sendFilechannelActive, channelInactive, channelReadSuspended, channelRegistered, channelUnregistered, userEventTriggeredafterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaughtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelActive, channelInactive, channelReadSuspended, channelRegistered, channelUnregistered, userEventTriggeredpublic boolean acceptInboundMessage(Object msg) throws Exception
acceptInboundMessage in class io.netty.handler.codec.MessageToMessageCodec<Object,HttpMessage>Exceptionprotected Object encode(io.netty.channel.ChannelHandlerContext ctx, HttpMessage msg) throws Exception
encode in class io.netty.handler.codec.MessageToMessageCodec<Object,HttpMessage>ExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.