Package software.amazon.awssdk.crt.http
Enum HttpProxyOptions.HttpProxyConnectionType
java.lang.Object
java.lang.Enum<HttpProxyOptions.HttpProxyConnectionType>
software.amazon.awssdk.crt.http.HttpProxyOptions.HttpProxyConnectionType
- All Implemented Interfaces:
Serializable,Comparable<HttpProxyOptions.HttpProxyConnectionType>
- Enclosing class:
- HttpProxyOptions
public static enum HttpProxyOptions.HttpProxyConnectionType
extends Enum<HttpProxyOptions.HttpProxyConnectionType>
What kind of proxy connection to establish
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEstablish a forwarding-based connection through the proxy.The legacy default connection type: (1) If Tls is being used to connect to the endpoint, use tunneling (2) otherwise use forwardingEstablish a tunneling-based connection through the proxy. -
Method Summary
-
Enum Constant Details
-
Legacy
The legacy default connection type: (1) If Tls is being used to connect to the endpoint, use tunneling (2) otherwise use forwarding -
Forwarding
Establish a forwarding-based connection through the proxy. It is invalid to use tls with a forwarding connection -
Tunneling
Establish a tunneling-based connection through the proxy.
-
-
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
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()
-