public class Proxy
extends org.codehaus.cargo.util.log.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) |
public final void setHost(String host)
host - the proxy hostpublic final String getHost()
public final void setPort(int port)
port - the proxy port. Defaults to 80 if not setpublic final int getPort()
public final void setUser(String user)
user - the user for authenticating proxiespublic final String getUser()
public final void setPassword(String password)
password - the password for authenticating proxiespublic final String getPassword()
public final void setExcludeHosts(String proxyExcludeHosts)
proxyExcludeHosts - list of hosts that do not go through the proxypublic final String getExcludeHosts()
setExcludeHosts(String)public void configure()
public void clear()
Copyright © 2004-2013 Codehaus. All Rights Reserved.