io.helidon.webserver.http2.Http2Config

Description

HTTP/2 server configuration

Configuration options

KeyTypeDefaultDescription
validate-response-headersBooleantrueWhether to validate response headers
logHttpLogConfigHTTP Log configuration
max-frame-sizeInteger16384The size of the largest frame payload that the sender is willing to receive in bytes
flow-control-timeoutDurationPT15SOutbound flow control blocking timeout configured as java.time.Duration or text in ISO-8601 format
send-error-detailsBooleanfalseWhether to send error message over HTTP to client
initial-window-sizeInteger1048576This setting indicates the sender's maximum window size in bytes for stream-level flow control
validate-pathBooleantrueWhether to validate path characters and the HTTP/2 :path pseudo-header
max-headers-sizeInteger16384Configure the maximum allowed headers size, which must be greater than 0
max-empty-framesInteger10Maximum number of consecutive empty frames allowed on connection
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()
max-rapid-resetsInteger50Maximum number of rapid client resets within the check period and server-side resets over the connection lifetime before GOAWAY is sent, or -1 to disable both reset-count checks; fixed internal bounds still apply to frames received after the server has locally reset a stream
max-concurrent-streamsLong8192Maximum number of concurrent streams that the server will allow
rapid-reset-check-periodDurationPT10SPeriod for counting rapid resets(stream RST sent by client before any data have been sent by server)
validate-request-headersBooleantrueWhether to validate request headers
requested-uri-discoveryRequestedUriDiscoveryContextRequested URI discovery settings
max-header-list-sizeLong8192The maximum field section size the server advertises to clients using the HTTP/2 SETTINGS_MAX_HEADER_LIST_SIZE setting
alt-svcAltSvcConfigExplicit Alt-Svc advertisement for responses handled by HTTP routing, excluding HTTP/2 subprotocol responses such as gRPC

Usages


See the manifest for all available types.

Copyright © 2018, 2026 Oracle and/or its affiliates.