public class Proxy extends Object
<proxy> tag used to configure the plugin in
the pom.xml file.| 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) |
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setUser(String user) |
public void setHost(String host)
host - Proxy host.public String getHost()
public void setPort(int port)
port - Proxy port.public int getPort()
public void setUser(String user)
user - Username for authenticating proxies.public String getUser()
public void setPassword(String password)
password - Password for authenticating proxies.public String getPassword()
public void setExcludeHosts(String proxyExcludeHosts)
proxyExcludeHosts - List of hosts that do not go through the proxy server. The value
can be a list of hosts, each seperated by a |, and in addition a wildcard
character (*) can be used for matching. For example:
*.foo.com|localhostpublic String getExcludeHosts()
|, and in addition a wildcard character
(*) can be used for matching. For example: *.foo.com|localhostpublic void configure()
public void clear()
Copyright © 2004–2016 Github. All rights reserved.