public class ProxyConfig extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyConfig.Type
The proxy type.
|
| Constructor and Description |
|---|
ProxyConfig()
Creates a direct connection (no proxy).
|
ProxyConfig(ProxyConfig.Type type,
String host,
int port)
Creates a proxy.
|
ProxyConfig(ProxyConfig.Type type,
String host,
int port,
String user,
String password)
Creates a proxy.
|
ProxyConfig(ProxyConfig.Type type,
String host,
int port,
String user,
String password,
boolean expectContinue)
Creates a proxy.
|
public ProxyConfig()
public ProxyConfig(ProxyConfig.Type type, String host, int port)
type - host - port - public ProxyConfig(ProxyConfig.Type type, String host, int port, String user, String password)
type - host - port - user - password - public ProxyConfig(ProxyConfig.Type type, String host, int port, String user, String password, boolean expectContinue)
type - host - port - user - password - expectContinue - Whether the proxy uses "Expect: 100-Continue" functionalityCopyright © 2014-2016 Machine Publishers, LLC.
Project homepage: https://github.com/machinepublishers/jbrowserdriver