|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.maven2.configuration.Proxy
public class Proxy
Holds configuration data for the <proxy>
tag used to configure
the plugin in the pom.xml
file.
Note: To be removed once m2 supports configuring custom config POJOs. See MNG-1353
Constructor Summary | |
---|---|
Proxy()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Proxy()
Method Detail |
---|
public final void setHost(String host)
host
- the proxy hostpublic final String getHost()
setHost(String)
public final void setPort(int port)
port
- the proxy port. Default to 80 if not setpublic final int getPort()
setPort(int)
public final void setUser(String user)
user
- the user for authenticating proxiespublic final String getUser()
setUser(String)
public final void setPassword(String password)
password
- the password for authenticating proxiespublic final String getPassword()
setPassword(String)
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |