public class SpdyHttpCodec extends Object implements ChannelUpstreamHandler, ChannelDownstreamHandler
SpdyHttpDecoder and SpdyHttpEncoderChannelHandler.Sharable| Constructor and Description |
|---|
SpdyHttpCodec(SpdyVersion version,
int maxContentLength)
Creates a new instance with the specified decoder options.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleDownstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified downstream event.
|
void |
handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified upstream event.
|
public SpdyHttpCodec(SpdyVersion version, int maxContentLength)
public void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
ChannelUpstreamHandlerhandleUpstream in interface ChannelUpstreamHandlerctx - the context object for this handlere - the upstream event to process or interceptExceptionpublic void handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
ChannelDownstreamHandlerhandleDownstream in interface ChannelDownstreamHandlerctx - the context object for this handlere - the downstream event to process or interceptExceptionCopyright © 2008-2016 The Netty Project. All Rights Reserved.