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>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType DISABLED
Disable reading from environment variable for proxy.
-
ENABLED
public static final HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType 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 Detail
-
values
public static HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType c : HttpProxyEnvironmentVariableSetting.HttpProxyEnvironmentVariableType.values()) System.out.println(c);
- 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()
-
-