io.netty.handler.codec.http.HttpServerCodec
(or more precisely the io.netty.handler.codec.http.HttpServerCodec.HttpServerRequestDecoder ) for HTTP/1.1
or io.netty.handler.codec.http.HttpServerUpgradeHandler for H2C.
Defaults are accessible as constants
| Modifier and Type | Field and Description |
|---|---|
| public static final int | DEFAULT_H2C_MAX_CONTENT_LENGTH
The maximum length of the content of the HTTP/2.0 clear-text upgrade request. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv HttpRequestDecoderSpec | |
| public HttpRequestDecoderSpec |
| DEFAULT_H2C_MAX_CONTENT_LENGTH | back to summary |
|---|---|
| public static final int DEFAULT_H2C_MAX_CONTENT_LENGTH The 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. | |
| HttpRequestDecoderSpec | back to summary |
|---|---|
| pack-priv HttpRequestDecoderSpec() | |
| build | back to summary |
|---|---|
| pack-priv HttpRequestDecoderSpec build() Build a | |
| get | back to summary |
|---|---|
| public HttpRequestDecoderSpec get() Implements java. Doc from java. Gets a result.
| |