public static enum ProxyConfiguration.ProxyType extends Enum<ProxyConfiguration.ProxyType>
| Enum Constant and Description |
|---|
AUTOMATIC
Use an automatically configured proxy (using a pax file for example).
|
MANUAL
Use a manually configured proxy (using your ProxyConfiguration object).
|
NOTHING
Don't use a proxy at all.
|
SYSTEM_DEFAULT
Use the proxy that is configured for your computer (system wide).
|
| Modifier and Type | Method and Description |
|---|---|
int |
toInt()
Converts the enum to an int (used by Firefox internally).
|
static ProxyConfiguration.ProxyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyConfiguration.ProxyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyConfiguration.ProxyType NOTHING
public static final ProxyConfiguration.ProxyType MANUAL
public static final ProxyConfiguration.ProxyType AUTOMATIC
public static final ProxyConfiguration.ProxyType SYSTEM_DEFAULT
public static ProxyConfiguration.ProxyType[] values()
for (ProxyConfiguration.ProxyType c : ProxyConfiguration.ProxyType.values()) System.out.println(c);
public static ProxyConfiguration.ProxyType 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 toInt()
Copyright © 2007-2013. All Rights Reserved.