Interface ProxyConfig.NamedProxyConfig

Enclosing interface:
ProxyConfig

public static interface ProxyConfig.NamedProxyConfig
  • Method Details

    • host

      Optional<String> host()
      Proxy host.
    • port

      OptionalInt port()
      Proxy port
    • credentialsProvider

      The credential provider configuration for the proxy. A credential provider offers a way to retrieve the proxy password. Note that the credential provider is only used if the password is not set in the configuration.
    • username

      Optional<String> username()
      Proxy username.

      See also credentials-provider

    • password

      Optional<String> password()
      Proxy password

      See also credentials-provider

    • nonProxyHosts

      Optional<List<String>> nonProxyHosts()
      Hostnames or IP addresses to exclude from proxying
    • proxyConnectTimeout

      @ConfigDocDefault("10s") Optional<Duration> proxyConnectTimeout()
      Proxy connection timeout.
    • type

      @WithDefault("http") ProxyType type()
      The proxy type. Possible values are: HTTP (default), SOCKS4 and SOCKS5.