Package org.apache.maven.repository
Class Proxy
java.lang.Object
org.apache.maven.repository.Proxy
Proxy
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetHost()Return proxy server host name.Get user's password used to login to proxy server.intgetPort()Get the proxy port.Get the protocol of the proxy server.Get the proxy username.voidSet proxy host name.voidsetNonProxyHosts(String nonProxyHosts) voidsetNtlmDomain(String ntlmDomain) voidsetNtlmHost(String ntlmHost) voidsetPassword(String password) Set the user's password for the proxy server.voidsetPort(int port) Set the proxy port.voidsetProtocol(String protocol) voidsetUserName(String userName) Set the proxy username.
- 
Field Details- 
PROXY_SOCKS5- See Also:
 
- 
PROXY_SOCKS4- See Also:
 
- 
PROXY_HTTP- See Also:
 
 
- 
- 
Constructor Details- 
Proxypublic Proxy()
 
- 
- 
Method Details- 
getHostReturn proxy server host name.- Returns:
- proxy server host name
 
- 
setHostSet proxy host name.- Parameters:
- host- proxy server host name
 
- 
getPasswordGet user's password used to login to proxy server.- Returns:
- user's password at proxy host
 
- 
setPasswordSet the user's password for the proxy server.- Parameters:
- password- password to use to login to a proxy server
 
- 
getPortpublic int getPort()Get the proxy port.- Returns:
- proxy server port
 
- 
setPortpublic void setPort(int port) Set the proxy port.- Parameters:
- port- proxy server port
 
- 
getUserNameGet the proxy username.- Returns:
- username for the proxy server
 
- 
setUserNameSet the proxy username.- Parameters:
- userName- username for the proxy server
 
- 
getProtocolGet the protocol of the proxy server.- Returns:
- the protocol of the proxy server
 
- 
setProtocol- Parameters:
- protocol- the protocol of the proxy server like SOCKSv4
 
- 
getNonProxyHosts
- 
setNonProxyHosts
- 
getNtlmHost
- 
setNtlmHost
- 
setNtlmDomain
- 
getNtlmDomain
 
-