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