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