Interface AsyncHttpClientConfig.Http2Config

Enclosing interface:
AsyncHttpClientConfig

public static interface AsyncHttpClientConfig.Http2Config
  • Method Summary

    Modifier and Type
    Method
    Description
    @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Optional<Duration>
    Sets the period that the Netty client will send PING frames to the remote endpoint to check the health of the connection.
    The initial window size for an HTTP/2 stream.
    The maximum number of concurrent streams for an HTTP/2 connection.
  • Method Details

    • maxStreams

      @ConfigDocDefault("4294967295") Optional<Long> maxStreams()
      The maximum number of concurrent streams for an HTTP/2 connection.

      This setting is only respected when the HTTP/2 protocol is used.

    • initialWindowSize

      @ConfigDocDefault("1048576") OptionalInt initialWindowSize()
      The initial window size for an HTTP/2 stream.

      This setting is only respected when the HTTP/2 protocol is used.

    • healthCheckPingPeriod

      @ConfigDocDefault("5") @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) 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. To disable this feature, set a duration of 0.

      This setting is only respected when the HTTP/2 protocol is used.