Class Proxy
- java.lang.Object
-
- org.codehaus.cargo.maven3.configuration.Proxy
-
public class Proxy extends Object
Holds configuration data for the<proxy>tag used to configure the plugin in thepom.xmlfile.
-
-
Constructor Summary
Constructors Constructor Description Proxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExcludeHosts()StringgetHost()StringgetPassword()intgetPort()StringgetUser()voidsetExcludeHosts(String proxyExcludeHosts)voidsetHost(String host)voidsetPassword(String password)voidsetPort(int port)voidsetUser(String user)
-
-
-
Method Detail
-
setHost
public void setHost(String host)
- Parameters:
host- Proxy host.
-
getHost
public String getHost()
- Returns:
- Proxy host.
-
setPort
public void setPort(int port)
- Parameters:
port- Proxy port.
-
getPort
public int getPort()
- Returns:
- Proxy port. Default to 80 if not set.
-
setUser
public void setUser(String user)
- Parameters:
user- Username for authenticating proxies.
-
getUser
public String getUser()
- Returns:
- Username for authenticating proxies.
-
setPassword
public void setPassword(String password)
- Parameters:
password- Password for authenticating proxies.
-
getPassword
public String getPassword()
- Returns:
- Password for authenticating proxies.
-
setExcludeHosts
public void setExcludeHosts(String proxyExcludeHosts)
- Parameters:
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|localhost
-
getExcludeHosts
public String getExcludeHosts()
- Returns:
- 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|localhost
-
-