public static enum HttpProxyOptions.HttpProxyConnectionType extends Enum<HttpProxyOptions.HttpProxyConnectionType>
| Enum Constant and Description |
|---|
Forwarding
Establish a forwarding-based connection through the proxy.
|
Legacy
The legacy default connection type:
(1) If Tls is being used to connect to the endpoint, use tunneling
(2) otherwise use forwarding
|
Tunneling
Establish a tunneling-based connection through the proxy.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static HttpProxyOptions.HttpProxyConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpProxyOptions.HttpProxyConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpProxyOptions.HttpProxyConnectionType Legacy
public static final HttpProxyOptions.HttpProxyConnectionType Forwarding
public static final HttpProxyOptions.HttpProxyConnectionType Tunneling
public static HttpProxyOptions.HttpProxyConnectionType[] values()
for (HttpProxyOptions.HttpProxyConnectionType c : HttpProxyOptions.HttpProxyConnectionType.values()) System.out.println(c);
public static HttpProxyOptions.HttpProxyConnectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
Copyright © 2021. All rights reserved.