Class ProxyConfiguration
java.lang.Object
software.amazon.awssdk.http.apache.ProxyConfiguration
- All Implemented Interfaces:
ToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
@SdkPublicApi
@Deprecated
public final class ProxyConfiguration
extends Object
implements ToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
Deprecated.
Apache 4.x is in maintenance mode. Users are encouraged to switch to the
Apache 5 HTTP Client
which is feature compatible with this client.
Configuration that defines how to communicate via an HTTP or HTTPS proxy.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyConfiguration.Builderbuilder()Deprecated.Create aProxyConfiguration.Builder, used to create aProxyConfiguration.host()Deprecated.Returns the proxy host name from the configured endpoint if set, else from the "https.proxyHost" or "http.proxyHost" system property, based on the scheme used, ifProxyConfiguration.Builder.useSystemPropertyValues(Boolean)is set to true.Deprecated.The hosts that the client is allowed to access without going through the proxy.Deprecated.For NTLM proxies: The Windows domain name to use when authenticating with the proxy.Deprecated.For NTLM proxies: The Windows workstation name to use when authenticating with the proxy.password()Deprecated.The password to use when connecting through a proxy.intport()Deprecated.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.Deprecated.Whether to attempt to authenticate preemptively against the proxy server using basic authentication.Deprecated.scheme()Deprecated.Returns theURI#schemefrom the configured endpoint.Deprecated.toString()Deprecated.username()Deprecated.The username to use when connecting through a proxy.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
host
Deprecated.Returns the proxy host name from the configured endpoint if set, else from the "https.proxyHost" or "http.proxyHost" system property, based on the scheme used, ifProxyConfiguration.Builder.useSystemPropertyValues(Boolean)is set to true. -
port
public int port()Deprecated.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
Deprecated.Returns theURI#schemefrom the configured endpoint. Otherwise return null. -
username
Deprecated.The username to use when connecting through a proxy. -
password
Deprecated.The password to use when connecting through a proxy. -
ntlmDomain
Deprecated.For NTLM proxies: The Windows domain name to use when authenticating with the proxy. -
ntlmWorkstation
Deprecated.For NTLM proxies: The Windows workstation name to use when authenticating with the proxy. -
nonProxyHosts
Deprecated.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. -
preemptiveBasicAuthenticationEnabled
Deprecated.Whether to attempt to authenticate preemptively against the proxy server using basic authentication. -
toBuilder
Deprecated.- Specified by:
toBuilderin interfaceToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
-
builder
Deprecated.Create aProxyConfiguration.Builder, used to create aProxyConfiguration. -
toString
Deprecated. -
resolveScheme
Deprecated.
-