Interface AsyncHttpClientConfig.NettyProxyConfiguration

Enclosing interface:
AsyncHttpClientConfig

public static interface AsyncHttpClientConfig.NettyProxyConfiguration
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Enable HTTP proxy.
    The endpoint of the proxy server that the SDK should connect through.
    The hosts that the client is allowed to access without going through the proxy.
  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      Enable HTTP proxy.
    • endpoint

      Optional<URI> endpoint()
      The endpoint of the proxy server that the SDK should connect through.

      Currently, the endpoint is limited to a host and port. Any other URI components will result in an exception being raised.

    • nonProxyHosts

      Optional<List<String>> nonProxyHosts()
      The hosts that the client is allowed to access without going through the proxy.