public class SpdyFrameEncoder extends io.netty.handler.codec.MessageToByteEncoder<Object>
ByteBuf.| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beforeAdd(io.netty.channel.ChannelHandlerContext ctx) |
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.buffer.ByteBuf out) |
boolean |
isEncodable(Object msg) |
newOutboundBufferafterAdd, afterRemove, beforeRemove, bind, close, connect, deregister, disconnect, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic SpdyFrameEncoder(int version)
version and the
default compressionLevel (6), windowBits (15),
and memLevel (8).public SpdyFrameEncoder(int version,
int compressionLevel,
int windowBits,
int memLevel)
public void beforeAdd(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
beforeAdd in interface io.netty.channel.ChannelHandlerbeforeAdd in class io.netty.channel.ChannelOperationHandlerAdapterExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.