
public class SpdyFrameCodec extends Object implements ChannelUpstreamHandler, ChannelDownstreamHandler
SpdyFrameDecoder and SpdyFrameEncoder.ChannelHandler.Sharable| Constructor and Description |
|---|
SpdyFrameCodec()
Deprecated.
|
SpdyFrameCodec(int version)
Creates a new instance with the specified
version and
the default decoder and encoder options
(maxChunkSize (8192), maxHeaderSize (16384),
compressionLevel (6), windowBits (15),
and memLevel (8)). |
SpdyFrameCodec(int version,
int maxChunkSize,
int maxHeaderSize,
int compressionLevel,
int windowBits,
int memLevel)
Creates a new instance with the specified decoder and encoder 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.
|
@Deprecated public SpdyFrameCodec()
version (2), maxChunkSize (8192),
maxHeaderSize (16384), compressionLevel (6),
windowBits (15), and memLevel (8)).public SpdyFrameCodec(int version)
version and
the default decoder and encoder options
(maxChunkSize (8192), maxHeaderSize (16384),
compressionLevel (6), windowBits (15),
and memLevel (8)).public SpdyFrameCodec(int version,
int maxChunkSize,
int maxHeaderSize,
int compressionLevel,
int windowBits,
int memLevel)
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-2013 The Netty Project. All Rights Reserved.