Package reactor.netty.http.server
Class HttpRequestDecoderSpec
java.lang.Object
reactor.netty.http.HttpDecoderSpec<HttpRequestDecoderSpec>
reactor.netty.http.server.HttpRequestDecoderSpec
- All Implemented Interfaces:
Supplier<HttpRequestDecoderSpec>
A configuration builder to fine tune the
HttpServerCodec
(or more precisely the HttpServerCodec.HttpServerRequestDecoder
) for HTTP/1.1
or HttpServerUpgradeHandler
for H2C.
Defaults are accessible as constants
- Author:
- Simon Baslé, Violeta Georgieva
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The maximum length of the content of the HTTP/2.0 clear-text upgrade request.Fields inherited from class reactor.netty.http.HttpDecoderSpec
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
-
Method Summary
Methods inherited from class reactor.netty.http.HttpDecoderSpec
allowDuplicateContentLengths, allowDuplicateContentLengths, allowPartialChunks, allowPartialChunks, equals, h2cMaxContentLength, h2cMaxContentLength, hashCode, initialBufferSize, initialBufferSize, maxChunkSize, maxChunkSize, maxHeaderSize, maxHeaderSize, maxInitialLineLength, maxInitialLineLength, validateHeaders, validateHeaders
-
Field Details
-
DEFAULT_H2C_MAX_CONTENT_LENGTH
public static final int DEFAULT_H2C_MAX_CONTENT_LENGTHThe maximum length of the content of the HTTP/2.0 clear-text upgrade request. By default, the server will reject an upgrade request with non-empty content, because the upgrade request is most likely a GET request.- See Also:
-
-
Method Details
-
get
-