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
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.
|
allowDuplicateContentLengths, allowPartialChunks, DEFAULT_ALLOW_DUPLICATE_CONTENT_LENGTHS, DEFAULT_ALLOW_PARTIAL_CHUNKS, 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() |
allowDuplicateContentLengths, allowDuplicateContentLengths, allowPartialChunks, allowPartialChunks, 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()