public static class NettyHttpClientConfig.Http2Config extends Object
| Modifier and Type | Field and Description |
|---|---|
Optional<Duration> |
healthCheckPingPeriod
Sets the period that the Netty client will send
PING frames to the remote endpoint to check the
health of the connection. |
OptionalInt |
initialWindowSize
The initial window size for an HTTP/2 stream.
|
Optional<Long> |
maxStreams
The maximum number of concurrent streams for an HTTP/2 connection.
|
| Constructor and Description |
|---|
Http2Config() |
@ConfigItem(defaultValueDocumentation="4294967295") public Optional<Long> maxStreams
This setting is only respected when the HTTP/2 protocol is used.
@ConfigItem(defaultValueDocumentation="1048576") public OptionalInt initialWindowSize
This setting is only respected when the HTTP/2 protocol is used.
@ConfigItem(defaultValueDocumentation="5") public Optional<Duration> healthCheckPingPeriod
PING frames to the remote endpoint to check the
health of the connection. To disable this feature, set a duration of 0.
This setting is only respected when the HTTP/2 protocol is used.
Copyright © 2020 JBoss by Red Hat. All rights reserved.