Class HttpServerCodec

java.lang.Object
org.jboss.netty.handler.codec.http.HttpServerCodec
All Implemented Interfaces:
ChannelDownstreamHandler, ChannelHandler, ChannelUpstreamHandler

public class HttpServerCodec extends Object implements ChannelUpstreamHandler, ChannelDownstreamHandler
A combination of HttpRequestDecoder and HttpResponseEncoder which enables easier server side HTTP implementation.
See Also:
  • Constructor Details

    • HttpServerCodec

      public HttpServerCodec()
      Creates a new instance with the default decoder options (maxInitialLineLength (4096}, maxHeaderSize (8192), and maxChunkSize (8192)).
    • HttpServerCodec

      public HttpServerCodec(int maxInitialLineLength, int maxHeaderSize, int maxChunkSize)
      Creates a new instance with the specified decoder options.
  • Method Details