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
ChannelUpstreamHandler
handleUpstream
in interface ChannelUpstreamHandler
ctx
- the context object for this handlere
- the upstream event to process or interceptException
public void handleDownstream(ChannelHandlerContext ctx, ChannelEvent e) throws Exception
ChannelDownstreamHandler
handleDownstream
in interface ChannelDownstreamHandler
ctx
- the context object for this handlere
- the downstream event to process or interceptException
Copyright © 2008-2013 The Netty Project. All Rights Reserved.