public class SpdyFrameEncoder extends io.netty.handler.codec.MessageToByteEncoder<SpdyDataOrControlFrame>
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) |
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
SpdyDataOrControlFrame msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, beginFlush, endFlush, flush, freeOutboundBuffer, isCloseOnFailedFlush, newOutboundBuffer, setCloseOnFailedFlushbind, close, connect, deregister, disconnect, read, sendFileafterAdd, afterRemove, beforeRemove, exceptionCaughtclone, 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.ChannelHandlerAdapterExceptionprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
SpdyDataOrControlFrame msg,
io.netty.buffer.ByteBuf out)
throws Exception
encode in class io.netty.handler.codec.MessageToByteEncoder<SpdyDataOrControlFrame>ExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.