public enum ProxyMode extends Enum<ProxyMode>
| Enum Constant and Description |
|---|
DISABLED
Do not use a proxy.
|
MANUAL
Use manually configured proxy host and port.
|
PAC_URL
Resolve PAC/WPAD URL, load the PAC script, and evaluate it in Java.
|
REGISTRY
Use static Windows registry proxy settings.
|
WINDOWS_PAC
Ask Windows through PowerShell/.NET for the final proxy.
|
| Modifier and Type | Method and Description |
|---|---|
static ProxyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyMode PAC_URL
public static final ProxyMode WINDOWS_PAC
public static final ProxyMode REGISTRY
public static final ProxyMode MANUAL
public static final ProxyMode DISABLED
public static ProxyMode[] values()
for (ProxyMode c : ProxyMode.values()) System.out.println(c);
public static ProxyMode 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 © 2026. All rights reserved.