Package software.amazon.awssdk.crtcore
Class CrtProxyConfiguration
java.lang.Object
software.amazon.awssdk.crtcore.CrtProxyConfiguration
- Direct Known Subclasses:
ProxyConfiguration
,S3CrtProxyConfiguration
The base class for AWS CRT proxy configuration
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
scheme
- Returns:
- The proxy scheme.
-
host
- Returns:
- The proxy host from the configuration if set, else from the "https.proxyHost" or "http.proxyHost" system property,
based on the scheme used, if
CrtProxyConfiguration.Builder.useSystemPropertyValues(Boolean)
is set to true
-
port
public final int port()- Returns:
- The proxy port from the configuration if set, else from the "https.proxyPort" or "http.proxyPort" system property,
based on the scheme used, if
CrtProxyConfiguration.Builder.useSystemPropertyValues(Boolean)
is set to true
-
username
- Returns:
- The proxy username from the configuration if set, else from the "https.proxyUser" or "http.proxyUser" system
property, based on the scheme used, if
CrtProxyConfiguration.Builder.useSystemPropertyValues(Boolean)
is set to true
-
password
- Returns:
- The proxy password from the configuration if set, else from the "https.proxyPassword" or "http.proxyPassword"
system property, based on the scheme used, if
CrtProxyConfiguration.Builder.useSystemPropertyValues(Boolean)
is set to true
-
isUseEnvironmentVariableValues
Indicates whether environment variables are utilized for proxy configuration.- Returns:
true
if environment variables are being used for proxy configuration,false
otherwise.
-
equals
-
hashCode
public int hashCode()
-