public class SpdyFrameEncoder extends Object implements ChannelDownstreamHandler
ChannelBuffer
.ChannelHandler.Sharable
Modifier | Constructor and Description |
---|---|
|
SpdyFrameEncoder(SpdyVersion spdyVersion)
Creates a new instance with the specified
version and the
default compressionLevel (6) , windowBits (15) ,
and memLevel (8) . |
|
SpdyFrameEncoder(SpdyVersion spdyVersion,
int compressionLevel,
int windowBits,
int memLevel)
Creates a new instance with the specified parameters.
|
protected |
SpdyFrameEncoder(SpdyVersion spdyVersion,
org.jboss.netty.handler.codec.spdy.SpdyHeaderBlockEncoder headerBlockEncoder) |
Modifier and Type | Method and Description |
---|---|
void |
handleDownstream(ChannelHandlerContext ctx,
ChannelEvent evt)
Handles the specified downstream event.
|
public SpdyFrameEncoder(SpdyVersion spdyVersion)
version
and the
default compressionLevel (6)
, windowBits (15)
,
and memLevel (8)
.public SpdyFrameEncoder(SpdyVersion spdyVersion, int compressionLevel, int windowBits, int memLevel)
protected SpdyFrameEncoder(SpdyVersion spdyVersion, org.jboss.netty.handler.codec.spdy.SpdyHeaderBlockEncoder headerBlockEncoder)
public void handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt) throws Exception
ChannelDownstreamHandler
handleDownstream
in interface ChannelDownstreamHandler
ctx
- the context object for this handlerevt
- the downstream event to process or interceptException
Copyright © 2008-2014 The Netty Project. All Rights Reserved.