public class ProxyInfo extends Object implements Serializable
Wagon objects
 while connection to the repository must go thru a proxy server.| Modifier and Type | Field and Description | 
|---|---|
static String | 
PROXY_HTTP  | 
static String | 
PROXY_SOCKS4  | 
static String | 
PROXY_SOCKS5  | 
| Constructor and Description | 
|---|
ProxyInfo()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getHost()
Return proxy server host name. 
 | 
String | 
getNonProxyHosts()  | 
String | 
getNtlmDomain()  | 
String | 
getNtlmHost()  | 
String | 
getPassword()
Get user's password used to login to proxy server. 
 | 
int | 
getPort()
Get the proxy port. 
 | 
String | 
getType()
Get the type of the proxy server. 
 | 
String | 
getUserName()
Get the proxy username. 
 | 
void | 
setHost(String host)
Set proxy host name. 
 | 
void | 
setNonProxyHosts(String nonProxyHosts)  | 
void | 
setNtlmDomain(String ntlmDomain)  | 
void | 
setNtlmHost(String ntlmHost)  | 
void | 
setPassword(String password)
Set the user's password for the proxy server. 
 | 
void | 
setPort(int port)
Set the proxy port. 
 | 
void | 
setType(String type)  | 
void | 
setUserName(String userName)
Set the proxy username. 
 | 
String | 
toString()  | 
public static final String PROXY_SOCKS5
public static final String PROXY_SOCKS4
public static final String PROXY_HTTP
public ProxyInfo()
public void setHost(String host)
host - proxy server host namepublic String getPassword()
public void setPassword(String password)
password - password to use to login to a proxy serverpublic int getPort()
public void setPort(int port)
port - proxy server portpublic String getUserName()
public void setUserName(String userName)
userName - username for the proxy serverpublic String getType()
public void setType(String type)
type - the type of the proxy server like SOCKSv4public String getNonProxyHosts()
public void setNonProxyHosts(String nonProxyHosts)
public String getNtlmHost()
public void setNtlmHost(String ntlmHost)
public void setNtlmDomain(String ntlmDomain)
public String getNtlmDomain()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.