public class Proxy extends Object
<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-1353Constructor 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()
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()
Copyright © 2004-2013 Codehaus. All Rights Reserved.