io.helidon.webserver.http1.Http1Config
Description
HTTP/1.1 server configuration
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
continue-immediately | Boolean | false | When true WebServer answers to expect continue with 100 continue immediately, not waiting for user to actually request the data |
validate-response-headers | Boolean | false | Whether to validate headers |
validate-prologue | Boolean | true | If set to false, any query and fragment is accepted (even containing illegal characters) |
validate-path | Boolean | true | If set to false, any path is accepted (even containing illegal characters) |
max-headers-size | Integer | 16384 | Maximal size of received headers in bytes |
max-buffered-entity-size | Size | 64 KB | Configure the maximum size allowed for an entity that can be explicitly buffered by the application by calling io.helidon.http.media.ReadableEntity#buffer |
requested-uri-discovery | RequestedUriDiscoveryContext | Requested URI discovery settings | |
validate-request-headers | Boolean | true | Whether to validate headers |
max-prologue-length | Integer | 4096 | Maximal size of received HTTP prologue (GET /path HTTP/1.1) |
send-log | Boolean | true | Logging of sent packets |
recv-log | Boolean | true | Logging of received packets |
send-keep-alive-header | Boolean | true | Whether to send the default Connection: keep-alive response header for persistent HTTP/1.1 connections |
Deprecated Options
| Key | Type | Default | Description |
|---|---|---|---|
validate-request-host-header | Boolean | true | Request host header validation |
Usages
See the manifest for all available types.