public final class HttpServerCodec extends ChannelHandlerAppender
HttpRequestDecoder and HttpResponseEncoder
which enables easier server side HTTP implementation.HttpClientCodecChannelHandler.Sharable, ChannelHandler.Skip| 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.
|
HttpServerCodec(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize,
boolean validateHeaders)
Creates a new instance with the specified decoder options.
|
add, add, add, add, handlerAdded, handlerAtbind, channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelWritabilityChanged, close, connect, disconnect, exceptionCaught, flush, handlerRemoved, isSharable, read, userEventTriggered, writepublic HttpServerCodec()
maxInitialLineLength (4096}, maxHeaderSize (8192), and
maxChunkSize (8192)).public HttpServerCodec(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize)
public HttpServerCodec(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize,
boolean validateHeaders)
Copyright © 2008–2013 The Netty Project. All rights reserved.