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