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 TypeMethodDescriptionboolean
int
hashCode()
final String
host()
final Boolean
Indicates whether environment variables are utilized for proxy configuration.Retrieves the hosts that the client is allowed to access without going through the proxy.final String
password()
final int
port()
final String
scheme()
final String
username()
-
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.
-
nonProxyHosts
-
equals
-
hashCode
-