Interface SyncHttpClientConfig.ApacheHttpClientConfig

Enclosing interface:
SyncHttpClientConfig

public static interface SyncHttpClientConfig.ApacheHttpClientConfig
  • Method Details

    • connectionAcquisitionTimeout

      @WithDefault("10S") @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Duration connectionAcquisitionTimeout()
      The amount of time to wait when acquiring a connection from the pool before giving up and timing out.
    • connectionMaxIdleTime

      @WithDefault("60S") @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Duration connectionMaxIdleTime()
      The maximum amount of time that a connection should be allowed to remain open while idle.
    • connectionTimeToLive

      @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Optional<Duration> connectionTimeToLive()
      The maximum amount of time that a connection should be allowed to remain open, regardless of usage frequency.
    • maxConnections

      @WithDefault("50") int maxConnections()
      The maximum number of connections allowed in the connection pool.

      Each built HTTP client has its own private connection pool.

    • expectContinueEnabled

      @WithDefault("true") boolean expectContinueEnabled()
      Whether the client should send an HTTP expect-continue handshake before each request.
    • useIdleConnectionReaper

      @WithDefault("true") boolean useIdleConnectionReaper()
      Whether the idle connections in the connection pool should be closed asynchronously.

      When enabled, connections left idling for longer than `quarkus.<amazon-service>.sync-client.connection-max-idle-time` will be closed. This will not close connections currently in use.

    • tcpKeepAlive

      @WithDefault("false") Boolean tcpKeepAlive()
      Configure whether to enable or disable TCP KeepAlive.
    • proxy

      HTTP proxy configuration