public class Proxy extends LoggedObject
| Constructor and Description |
|---|
Proxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all proxy settings.
|
void |
configure()
Set the Java system properties related to proxies.
|
String |
getExcludeHosts() |
String |
getHost() |
String |
getPassword() |
int |
getPort() |
String |
getUser() |
void |
setExcludeHosts(String proxyExcludeHosts)
List of hosts which should be connected too directly and not through the proxy server.
|
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setUser(String user) |
getLogger, setLoggerpublic void setHost(String host)
host - the proxy hostpublic String getHost()
public void setPort(int port)
port - the proxy port. Defaults to 80 if not setpublic int getPort()
public void setUser(String user)
user - the user for authenticating proxiespublic String getUser()
public void setPassword(String password)
password - the password for authenticating proxiespublic String getPassword()
public void setExcludeHosts(String proxyExcludeHosts)
proxyExcludeHosts - list of hosts that do not go through the proxypublic String getExcludeHosts()
setExcludeHosts(String)public void configure()
public void clear()
Copyright © 2004-2013 Codehaus. All Rights Reserved.