Package software.amazon.awssdk.crt.http
Enum HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType
java.lang.Object
java.lang.Enum<HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType>
software.amazon.awssdk.crt.http.HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType
- All Implemented Interfaces:
Serializable,Comparable<HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType>
- Enclosing class:
- HttpProxyEnvironmentVariableSetting
public static enum HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType
extends Enum<HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType>
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
DISABLED
Disable reading from environment variable for proxy. -
ENABLED
Default. Enable reading from environment variable for proxy configuration, when the proxy options are not set. env HTTPS_PROXY/https_proxy will be checked when the main connection use tls. env HTTP_PROXY/http_proxy will be checked when the main connection does not use tls. The lower case version has precedence.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-