org.apache.maven.wagon.proxy
public class ProxyInfo extends Object implements Serializable
Wagon
objects
while connection to the repository must go thru a proxy server.
Version: $Id: ProxyInfo.java 162476 2005-04-19 02:49:45Z brett $
UNKNOWN: Propose standard types of proxy servers (e.g. SOCKSv4), which can be shared between wagon api and providers
Field Summary | |
---|---|
String | host
Proxy server host |
String | nonProxyHosts
The non-proxy hosts. |
String | ntlmDomain
For NTLM proxies, specifies the NTLM domain. |
String | ntlmHost
For NTLM proxies, specifies the NTLM host. |
String | password
Password associated with the proxy server |
int | port
Proxy server port |
static String | PROXY_HTTP |
static String | PROXY_SOCKS4 |
static String | PROXY_SOCKS5 |
String | type
Type of the proxy |
String | userName
Username used to access the proxy server |
Method Summary | |
---|---|
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.
|
*.foo.com|localhost
.Returns: proxy server host name
Returns: user's password at proxy host
Returns: proxy server port
Returns: the type of the proxy server
Returns: username for the proxy server
Parameters: host proxy server host name
Parameters: password password to use to login to a proxy server
Parameters: port proxy server port
Parameters: type the type of the proxy server like SOCKSv4
Parameters: userName username for the proxy server