public class SpdyHttpDecoder extends io.netty.handler.codec.MessageToMessageDecoder<SpdyDataOrControlFrame>
SpdySynStreamFrames, SpdySynReplyFrames,
and SpdyDataFrames into FullHttpRequests and FullHttpResponses.| Constructor and Description |
|---|
SpdyHttpDecoder(int version,
int maxContentLength)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
decode(io.netty.channel.ChannelHandlerContext ctx,
SpdyDataOrControlFrame msg) |
acceptInboundMessage, beginMessageReceived, endMessageReceived, freeInboundBuffer, inboundBufferUpdated, newInboundBufferchannelActive, channelInactive, channelReadSuspended, channelRegistered, channelUnregistered, userEventTriggeredafterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaughtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic SpdyHttpDecoder(int version,
int maxContentLength)
version - the protocol versionmaxContentLength - the maximum length of the message content.
If the length of the message content exceeds this value,
a TooLongFrameException will be raised.protected Object decode(io.netty.channel.ChannelHandlerContext ctx, SpdyDataOrControlFrame msg) throws Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<SpdyDataOrControlFrame>ExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.