public class SpdyFrameEncoder extends Object implements ChannelDownstreamHandler
ChannelBuffer
.ChannelHandler.Sharable
Modifier | Constructor and Description |
---|---|
|
SpdyFrameEncoder(int version)
Creates a new instance with the specified
version and the
default compressionLevel (6) , windowBits (15) ,
and memLevel (8) . |
|
SpdyFrameEncoder(int version,
int compressionLevel,
int windowBits,
int memLevel)
Creates a new instance with the specified parameters.
|
protected |
SpdyFrameEncoder(int version,
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(int version)
version
and the
default compressionLevel (6)
, windowBits (15)
,
and memLevel (8)
.public SpdyFrameEncoder(int version, int compressionLevel, int windowBits, int memLevel)
protected SpdyFrameEncoder(int version, 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.