public final class HttpRequestDecoderSpec extends HttpDecoderSpec<HttpRequestDecoderSpec>
HttpServerCodec
(or more precisely the HttpServerCodec.HttpServerRequestDecoder
) for HTTP/1.1
or HttpServerUpgradeHandler
for H2C.
Defaults are accessible as constants HttpDecoderSpec.DEFAULT_MAX_INITIAL_LINE_LENGTH
, HttpDecoderSpec.DEFAULT_MAX_HEADER_SIZE
,
HttpDecoderSpec.DEFAULT_MAX_CHUNK_SIZE
, HttpDecoderSpec.DEFAULT_INITIAL_BUFFER_SIZE
, HttpDecoderSpec.DEFAULT_VALIDATE_HEADERS
and
DEFAULT_H2C_MAX_CONTENT_LENGTH
.
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_H2C_MAX_CONTENT_LENGTH
The maximum length of the content of the HTTP/2.0 clear-text upgrade request.
|
DEFAULT_INITIAL_BUFFER_SIZE, DEFAULT_MAX_CHUNK_SIZE, DEFAULT_MAX_HEADER_SIZE, DEFAULT_MAX_INITIAL_LINE_LENGTH, DEFAULT_VALIDATE_HEADERS, h2cMaxContentLength, initialBufferSize, maxChunkSize, maxHeaderSize, maxInitialLineLength, validateHeaders
Modifier and Type | Method and Description |
---|---|
HttpRequestDecoderSpec |
get() |
equals, h2cMaxContentLength, h2cMaxContentLength, hashCode, initialBufferSize, initialBufferSize, maxChunkSize, maxChunkSize, maxHeaderSize, maxHeaderSize, maxInitialLineLength, maxInitialLineLength, validateHeaders, validateHeaders
public static final int DEFAULT_H2C_MAX_CONTENT_LENGTH
public HttpRequestDecoderSpec get()