Class HttpServerCodec

    • Field Detail

      • queue

        private final java.util.Queue<HttpMethod> queue
        A queue that is used for correlating a request and a response.
    • Constructor Detail

      • 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.
      • HttpServerCodec

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

        public HttpServerCodec​(int maxInitialLineLength,
                               int maxHeaderSize,
                               int maxChunkSize,
                               boolean validateHeaders,
                               int initialBufferSize)
        Creates a new instance with the specified decoder options.
      • HttpServerCodec

        public HttpServerCodec​(int maxInitialLineLength,
                               int maxHeaderSize,
                               int maxChunkSize,
                               boolean validateHeaders,
                               int initialBufferSize,
                               boolean allowDuplicateContentLengths)
        Creates a new instance with the specified decoder options.
      • HttpServerCodec

        public HttpServerCodec​(int maxInitialLineLength,
                               int maxHeaderSize,
                               int maxChunkSize,
                               boolean validateHeaders,
                               int initialBufferSize,
                               boolean allowDuplicateContentLengths,
                               boolean allowPartialChunks)
        Creates a new instance with the specified decoder options.