Package software.amazon.awssdk.crtcore
Class CrtProxyConfiguration
- java.lang.Object
-
- software.amazon.awssdk.crtcore.CrtProxyConfiguration
-
public abstract class CrtProxyConfiguration extends Object
The base class for AWS CRT proxy configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCrtProxyConfiguration.BuilderBuilder forCrtProxyConfiguration.protected static classCrtProxyConfiguration.DefaultBuilder<B extends CrtProxyConfiguration.Builder>
-
Constructor Summary
Constructors Modifier Constructor Description protectedCrtProxyConfiguration(CrtProxyConfiguration.DefaultBuilder<?> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()Stringhost()BooleanisUseEnvironmentVariableValues()Indicates whether environment variables are utilized for proxy configuration.Stringpassword()intport()Stringscheme()Stringusername()
-
-
-
Constructor Detail
-
CrtProxyConfiguration
protected CrtProxyConfiguration(CrtProxyConfiguration.DefaultBuilder<?> builder)
-
-
Method Detail
-
scheme
public final String scheme()
- Returns:
- The proxy scheme.
-
host
public final String 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
public final String 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
public final String 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
public final Boolean isUseEnvironmentVariableValues()
Indicates whether environment variables are utilized for proxy configuration.- Returns:
trueif environment variables are being used for proxy configuration,falseotherwise.
-
-