public static enum ProxyConfig.Type extends Enum<ProxyConfig.Type>
Enum Constant and Description |
---|
HTTP
HTTP/HTTPS proxy.
|
SOCKS
SOCKS proxy.
|
Modifier and Type | Method and Description |
---|---|
static ProxyConfig.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyConfig.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyConfig.Type HTTP
public static final ProxyConfig.Type SOCKS
public static ProxyConfig.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 nullpublic static ProxyConfig.Type[] values()
for (ProxyConfig.Type c : ProxyConfig.Type.values()) System.out.println(c);
Copyright © 2014-2017 Machine Publishers, LLC and the jBrowserDriver contributors.
Project homepage: https://github.com/machinepublishers/jbrowserdriver