|
||||||||||
| 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. |
java.lang.String |
getExcludeHosts()
|
java.lang.String |
getHost()
|
java.lang.String |
getPassword()
|
int |
getPort()
|
java.lang.String |
getUser()
|
void |
setExcludeHosts(java.lang.String proxyExcludeHosts)
List of hosts which should be connected too directly and not through the proxy server. |
void |
setHost(java.lang.String host)
|
void |
setPassword(java.lang.String password)
|
void |
setPort(int port)
|
void |
setUser(java.lang.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(java.lang.String host)
host - the proxy hostpublic final java.lang.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(java.lang.String user)
user - the user for authenticating proxiespublic final java.lang.String getUser()
setUser(String)public final void setPassword(java.lang.String password)
password - the password for authenticating proxiespublic final java.lang.String getPassword()
setPassword(String)public final void setExcludeHosts(java.lang.String proxyExcludeHosts)
proxyExcludeHosts - list of hosts that do not go through the proxypublic final java.lang.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 | |||||||||