Package org.eclipse.aether.repository
Class Proxy
java.lang.Object
org.eclipse.aether.repository.Proxy
A proxy to use for connections to a repository.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
TYPE_HTTPType denoting a proxy for HTTP transfers.- See Also:
 
- 
TYPE_HTTPSType denoting a proxy for HTTPS transfers.- See Also:
 
 
- 
- 
Constructor Details- 
ProxyCreates a new proxy with the specified properties and no authentication.- Parameters:
- type- The type of the proxy, e.g. "http", may be- null.
- host- The host of the proxy, may be- null.
- port- The port of the proxy.
 
- 
ProxyCreates a new proxy with the specified properties.- Parameters:
- type- The type of the proxy, e.g. "http", may be- null.
- host- The host of the proxy, may be- null.
- port- The port of the proxy.
- auth- The authentication to use for the proxy connection, may be- null.
 
 
- 
- 
Method Details- 
getTypeGets the type of this proxy.- Returns:
- The type of this proxy, never null.
 
- 
getHostGets the host for this proxy.- Returns:
- The host for this proxy, never null.
 
- 
getPortGets the port number for this proxy.- Returns:
- The port number for this proxy.
 
- 
getAuthenticationGets the authentication to use for the proxy connection.- Returns:
- The authentication to use or nullif none.
 
- 
toString
- 
equals
- 
hashCode
 
-