ProxyConfiguration (AWS SDK for Java
ToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
Configuration that defines how to communicate via an HTTP or HTTPS proxy.
Nested Class Summary
Nested Classes
static interface
Method Summary
All MethodsStatic MethodsInstance MethodsConcrete Methods
The hosts that the client is allowed to access without going through the proxy.
For NTLM proxies: The Windows domain name to use when authenticating with the proxy.
For NTLM proxies: The Windows workstation name to use when authenticating with the proxy.
The password to use when connecting through a proxy.
int
Whether to attempt to authenticate preemptively against the proxy server using basic authentication.
Returns the invalid reference
from the configured endpoint.URI#scheme
Take this object and create a builder that contains all of the current property values of this object.
The username to use when connecting through a proxy.
Method Details
host
port
public int port()
Returns the proxy port from the configured endpoint if set, else from the "https.proxyPort" or "http.proxyPort" system property, based on the scheme used, ifProxyConfiguration.Builder.useSystemPropertyValues(Boolean)
is set to true. If no value is found in none of the above options, the default value of 0 is returned.scheme
Returns the invalid reference
from the configured endpoint. Otherwise return null.URI#scheme
username
The username to use when connecting through a proxy.
See Also:password
The password to use when connecting through a proxy.
See Also:ntlmDomain
For NTLM proxies: The Windows domain name to use when authenticating with the proxy.
See Also:ntlmWorkstation
public String ntlmWorkstation()For NTLM proxies: The Windows workstation name to use when authenticating with the proxy.
See Also:nonProxyHosts
The hosts that the client is allowed to access without going through the proxy. If the value is not set on the object, the value represent by "http.nonProxyHosts" system property is returned. If system property is also not set, an unmodifiable empty set is returned.
See Also:preemptiveBasicAuthenticationEnabled
public Boolean preemptiveBasicAuthenticationEnabled()Whether to attempt to authenticate preemptively against the proxy server using basic authentication.
See Also:toBuilder
Take this object and create a builder that contains all of the current property values of this object.
Specified by:toBuilder
in interfaceToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
Returns: a builder for type Tbuilder
toString
Overrides:toString
in classObject
resolveScheme
public String resolveScheme()
ncG1vNJzZmirlKB7ornAs6anmaeoe6S7zGihmq6RZK6xtY6lmK2do6l8tLvFra6aqpVkrq6t2ailaJmnqMClt46hq62oX5a9oq%2FHnmaJqp%2BtxoS7zZ%2BgoK2ilsGqu81nn62lnA%3D%3D