public static interface ProxyConfiguration.Builder extends CopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
ProxyConfiguration.| Modifier and Type | Method and Description |
|---|---|
ProxyConfiguration.Builder |
host(String host)
Set the hostname of the proxy.
|
ProxyConfiguration.Builder |
nonProxyHosts(Set<String> nonProxyHosts)
Set the set of hosts that should not be proxied.
|
ProxyConfiguration.Builder |
password(String password)
Set the password used to authenticate with the proxy password.
|
ProxyConfiguration.Builder |
port(int port)
Set the port that the proxy expects connections on.
|
ProxyConfiguration.Builder |
scheme(String scheme)
The HTTP scheme to use for connecting to the proxy.
|
ProxyConfiguration.Builder |
useEnvironmentVariableValues(Boolean useEnvironmentVariablesValues)
Set the option whether to use environment variable values for
ProxyEnvironmentSetting if any of the config
options are missing. |
ProxyConfiguration.Builder |
username(String username)
Set the username used to authenticate with the proxy username.
|
ProxyConfiguration.Builder |
useSystemPropertyValues(Boolean useSystemPropertyValues)
Set the option whether to use system property values from
ProxySystemSetting if any of the config options
are missing. |
copyapplyMutation, buildProxyConfiguration.Builder host(String host)
host - The proxy host.ProxyConfiguration.Builder port(int port)
port - The proxy port.ProxyConfiguration.Builder scheme(String scheme)
http and https.
The client defaults to http if none is given.
scheme - The proxy scheme.ProxyConfiguration.Builder nonProxyHosts(Set<String> nonProxyHosts)
nonProxyHosts - The set of hosts that should not be proxied.ProxyConfiguration.Builder username(String username)
username - The proxy username.ProxyConfiguration.Builder password(String password)
password - The proxy password.ProxyConfiguration.Builder useSystemPropertyValues(Boolean useSystemPropertyValues)
ProxySystemSetting if any of the config options
are missing. The value is set to "true" by default which means SDK will automatically use system property values if
options are not provided during building the ProxyConfiguration object. To disable this behaviour, set this
value to false.It is important to note that when this property is set to "true," all proxy settings will exclusively
be obtained from System Property Values, and no partial settings will be obtained from Environment Variable Values.useSystemPropertyValues - The option whether to use system property valuesProxyConfiguration.Builder useEnvironmentVariableValues(Boolean useEnvironmentVariablesValues)
ProxyEnvironmentSetting if any of the config
options are missing. The value is set to "true" by default, enabling the SDK to automatically use environment variable
values for proxy configuration options that are not provided during building the ProxyConfiguration object. To
disable this behavior, set this value to "false".It is important to note that when this property is set to "true," all
proxy settings will exclusively originate from Environment Variable Values, and no partial settings will be obtained
from System Property Values.useEnvironmentVariablesValues - The option whether to use environment variable valuesCopyright © 2023. All rights reserved.