public static enum ProxyOptions.Type extends Enum<ProxyOptions.Type>
Enum Constant and Description |
---|
HTTP
HTTP proxy type.
|
SOCKS4
SOCKS4 proxy type.
|
SOCKS5
SOCKS5 proxy type.
|
Modifier and Type | Method and Description |
---|---|
Proxy.Type |
toProxyType()
Get the
Proxy.Type equivalent of this type. |
static ProxyOptions.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyOptions.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyOptions.Type HTTP
public static final ProxyOptions.Type SOCKS4
public static final ProxyOptions.Type SOCKS5
public static ProxyOptions.Type[] values()
public static ProxyOptions.Type 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 Proxy.Type toProxyType()
Proxy.Type
equivalent of this type.Copyright © 2021 Microsoft Corporation. All rights reserved.