Skip to content

io.helidon.webserver.http1.Http1Config

Description

HTTP/1.1 server configuration

Configuration options

KeyTypeDefaultDescription
continue-immediatelyBooleanfalseWhen true WebServer answers to expect continue with 100 continue immediately, not waiting for user to actually request the data
validate-response-headersBooleanfalseWhether to validate headers
validate-prologueBooleantrueIf set to false, any query and fragment is accepted (even containing illegal characters)
validate-pathBooleantrueIf set to false, any path is accepted (even containing illegal characters)
max-headers-sizeInteger16384Maximal size of received headers in bytes
max-buffered-entity-sizeSize64 KBConfigure 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-discoveryRequestedUriDiscoveryContextRequested URI discovery settings
validate-request-headersBooleantrueWhether to validate headers
max-prologue-lengthInteger4096Maximal size of received HTTP prologue (GET /path HTTP/1.1)
send-logBooleantrueLogging of sent packets
recv-logBooleantrueLogging of received packets
send-keep-alive-headerBooleantrueWhether to send the default Connection: keep-alive response header for persistent HTTP/1.1 connections

Deprecated Options

KeyTypeDefaultDescription
validate-request-host-headerBooleantrueRequest host header validation

Usages


See the manifest for all available types.