
public class SpdyHttpDecoder extends OneToOneDecoder
SpdySynStreamFrames, SpdySynReplyFrames,
and SpdyDataFrames into HttpRequests and HttpResponses.ChannelHandler.Sharable| Constructor and Description |
|---|
SpdyHttpDecoder(int maxContentLength)
Deprecated.
|
SpdyHttpDecoder(int version,
int maxContentLength)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
decode(ChannelHandlerContext ctx,
Channel channel,
Object msg)
Transforms the specified received message into another message and return
the transformed message.
|
handleUpstream@Deprecated public SpdyHttpDecoder(int maxContentLength)
maxContentLength - the maximum length of the message content.
If the length of the message content exceeds this value,
a TooLongFrameException will be raised.public 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(ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception
OneToOneDecodernull if the received message
is supposed to be discarded.decode in class OneToOneDecoderExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.