public static enum ProxyInfo.Type extends Enum<ProxyInfo.Type>
| Enum Constant and Description |
|---|
HTTP
HTTP proxy.
|
SOCKS4
SOCKS4 proxy.
|
SOCKS5
SOCKS5 proxy.
|
| Modifier and Type | Method and Description |
|---|---|
static ProxyInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyInfo.Type HTTP
public static final ProxyInfo.Type SOCKS4
public static final ProxyInfo.Type SOCKS5
public static ProxyInfo.Type[] values()
for (ProxyInfo.Type c : ProxyInfo.Type.values()) System.out.println(c);
public static ProxyInfo.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 nullCopyright © 2021. All rights reserved.