public interface H1ProtocolConfig extends HttpProtocolConfig
HttpProtocolConfigs.h1Default()| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
alpnId()
TLS Application-Layer Protocol Negotiation (ALPN) Protocol ID of the protocol this configuration is for.
|
int |
headersEncodedSizeEstimate()
Value used to calculate an exponential moving average of the encoded size of the HTTP
start line and
header fields for a guess for future buffer
allocations.
|
int |
maxHeaderFieldLength()
Maximum length of the HTTP header fields and
trailer fields to parse.
|
int |
maxPipelinedRequests()
Maximum number of pipelined HTTP requests to queue up.
|
int |
maxStartLineLength()
Maximum length of the HTTP start line for an HTTP
message.
|
int |
trailersEncodedSizeEstimate()
Value used to calculate an exponential moving average of the encoded size of the HTTP
trailer fields for a guess for future
buffer allocations.
|
headersFactorydefault java.lang.String alpnId()
HttpProtocolConfigalpnId in interface HttpProtocolConfigint maxPipelinedRequests()
Anything above this value will be rejected, 1 means pipelining is disabled and requests/responses are
processed sequentially.
Note: reserved connections will not be restricted by this setting.
int maxStartLineLength()
Note: a decoder will close the connection with TooLongFrameException if the start line exceeds
this value.
int maxHeaderFieldLength()
Note: a decoder will close the connection with TooLongFrameException if the length of a header or
trailer field exceeds this value.
int headersEncodedSizeEstimate()
int trailersEncodedSizeEstimate()