public class HttpServerCodec
extends io.netty.channel.CombinedChannelHandler
HttpRequestDecoder
and HttpResponseEncoder
which enables easier server side HTTP implementation.HttpClientCodec
Constructor and Description |
---|
HttpServerCodec()
Creates a new instance with the default decoder options
(
maxInitialLineLength (4096 }, maxHeaderSize (8192) , and
maxChunkSize (8192) ). |
HttpServerCodec(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize)
Creates a new instance with the specified decoder options.
|
afterAdd, afterRemove, beforeAdd, beforeRemove, bind, channelActive, channelInactive, channelRegistered, channelUnregistered, close, connect, deregister, disconnect, exceptionCaught, flush, inboundBufferUpdated, init, newInboundBuffer, newOutboundBuffer, userEventTriggered
public HttpServerCodec()
maxInitialLineLength (4096
}, maxHeaderSize (8192)
, and
maxChunkSize (8192)
).public HttpServerCodec(int maxInitialLineLength, int maxHeaderSize, int maxChunkSize)
Copyright © 2008-2012 The Netty Project. All Rights Reserved.