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
Modifier and TypeMethodDescriptionbooleaninthashCode()final Stringhost()final BooleanIndicates whether environment variables are utilized for proxy configuration.Retrieves the hosts that the client is allowed to access without going through the proxy.final Stringpassword()final intport()final Stringscheme()final Stringusername()
-
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:
trueif environment variables are being used for proxy configuration,falseotherwise.
-
nonProxyHosts
-
equals
-
hashCode
-