public final class SpdyHttpCodec extends io.netty.channel.CombinedChannelDuplexHandler implements io.netty.channel.ChannelInboundMessageHandler<SpdyDataOrControlFrame>, io.netty.channel.ChannelOutboundMessageHandler<HttpObject>
SpdyHttpDecoder and SpdyHttpEncoder| Constructor and Description |
|---|
SpdyHttpCodec(int version,
int maxContentLength)
Creates a new instance with the specified decoder options.
|
| Modifier and Type | Method and Description |
|---|---|
void |
freeInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
void |
freeOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.buffer.MessageBuf<SpdyDataOrControlFrame> |
newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.buffer.MessageBuf<HttpObject> |
newOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
afterAdd, afterRemove, beforeAdd, beforeRemove, bind, channelActive, channelInactive, channelRegistered, channelUnregistered, close, connect, deregister, disconnect, exceptionCaught, flush, inboundBufferUpdated, init, operationHandler, read, sendFile, stateHandler, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelActive, channelInactive, channelReadSuspended, channelRegistered, channelUnregistered, inboundBufferUpdated, userEventTriggeredpublic SpdyHttpCodec(int version,
int maxContentLength)
public io.netty.buffer.MessageBuf<SpdyDataOrControlFrame> newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) throws Exception
newInboundBuffer in interface io.netty.channel.ChannelInboundMessageHandler<SpdyDataOrControlFrame>Exceptionpublic void freeInboundBuffer(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
Exceptionpublic io.netty.buffer.MessageBuf<HttpObject> newOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) throws Exception
newOutboundBuffer in interface io.netty.channel.ChannelOutboundMessageHandler<HttpObject>ExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.