Enum ProxySearch.Strategy
- All Implemented Interfaces:
Serializable, Comparable<ProxySearch.Strategy>, java.lang.constant.Constable
- Enclosing class:
ProxySearch
Types of proxy detection supported by the builder.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the settings of the platforms default browser.Use environment variables for proxy settings.Use Firefox settingsUse KDE desktop default proxy settings.Use InternetExplorer settingsUse Java Networking system propertiesUse KDE desktop default proxy settings.Use the platform settings.Use windows default proxy settings.Use WPAD resolution -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxySearch.StrategyReturns the enum constant of this type with the specified name.static ProxySearch.Strategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OS_DEFAULT
Use the platform settings. -
WPAD
Use WPAD resolution -
BROWSER
Use the settings of the platforms default browser. -
FIREFOX
Use Firefox settings -
IE
Use InternetExplorer settings -
ENV_VAR
Use environment variables for proxy settings. -
WIN
Use windows default proxy settings. -
KDE
Use KDE desktop default proxy settings. -
GNOME
Use KDE desktop default proxy settings. -
JAVA
Use Java Networking system properties
-
-
Constructor Details
-
Strategy
private Strategy()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-