public class ProxyConfiguration extends Object
<proxyConfig>
<host></host>
<port></port>
<username></username>
<password></password>
<hostExclusions></hostExclusions>
</proxyConfig>
Constructor and Description |
---|
ProxyConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
String |
getHostExclusions() |
String |
getPassword() |
String |
getPort() |
String |
getUsername() |
void |
setHost(String host)
HTTP proxy host name
|
void |
setHostExclusions(String hostExclusions)
Regex of hosts that will not be proxied
|
void |
setPassword(String password)
HTTP proxy user password
|
void |
setPort(Integer port)
HTTP proxy port
Default: 80
|
void |
setUsername(String username)
HTTP proxy username
|
String |
toString()
Proxy details formatted for command line output.
|
public String getHost()
public void setHost(String host)
host
- Stringpublic String getPort()
public void setPort(Integer port)
port
- Integerpublic String getUsername()
public void setUsername(String username)
username
- Stringpublic String getPassword()
public void setPassword(String password)
password
- Stringpublic String getHostExclusions()
public void setHostExclusions(String hostExclusions)
hostExclusions
- StringCopyright © 2020. All rights reserved.