org.apache.maven.repository
Class Proxy

java.lang.Object
  extended by org.apache.maven.repository.Proxy

public class Proxy
extends Object


Field Summary
static String PROXY_HTTP
           
static String PROXY_SOCKS4
           
static String PROXY_SOCKS5
           
 
Constructor Summary
Proxy()
           
 
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 getProtocol()
          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 setProtocol(String protocol)
           
 void setUserName(String userName)
          Set the proxy username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROXY_SOCKS5

public static final String PROXY_SOCKS5
See Also:
Constant Field Values

PROXY_SOCKS4

public static final String PROXY_SOCKS4
See Also:
Constant Field Values

PROXY_HTTP

public static final String PROXY_HTTP
See Also:
Constant Field Values
Constructor Detail

Proxy

public Proxy()
Method Detail

getHost

public String getHost()
Return proxy server host name.

Returns:
proxy server host name

setHost

public void setHost(String host)
Set proxy host name.

Parameters:
host - proxy server host name

getPassword

public String getPassword()
Get user's password used to login to proxy server.

Returns:
user's password at proxy host

setPassword

public void setPassword(String password)
Set the user's password for the proxy server.

Parameters:
password - password to use to login to a proxy server

getPort

public int getPort()
Get the proxy port.

Returns:
proxy server port

setPort

public void setPort(int port)
Set the proxy port.

Parameters:
port - proxy server port

getUserName

public String getUserName()
Get the proxy username.

Returns:
username for the proxy server

setUserName

public void setUserName(String userName)
Set the proxy username.

Parameters:
userName - username for the proxy server

getProtocol

public String getProtocol()
Get the type of the proxy server.

Returns:
the type of the proxy server

setProtocol

public void setProtocol(String protocol)
Parameters:
type - the type of the proxy server like SOCKSv4

getNonProxyHosts

public String getNonProxyHosts()

setNonProxyHosts

public void setNonProxyHosts(String nonProxyHosts)

getNtlmHost

public String getNtlmHost()

setNtlmHost

public void setNtlmHost(String ntlmHost)

setNtlmDomain

public void setNtlmDomain(String ntlmDomain)

getNtlmDomain

public String getNtlmDomain()


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.