|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.util.repository.DefaultProxySelector
public class DefaultProxySelector
A simple proxy selector that selects the first matching proxy from a list of configured proxies.
Constructor Summary | |
---|---|
DefaultProxySelector()
|
Method Summary | |
---|---|
DefaultProxySelector |
add(Proxy proxy,
java.lang.String nonProxyHosts)
Adds the specified proxy definition to the selector. |
Proxy |
getProxy(RemoteRepository repository)
Selects a proxy for the specified remote repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultProxySelector()
Method Detail |
---|
public DefaultProxySelector add(Proxy proxy, java.lang.String nonProxyHosts)
proxy
- The proxy definition to add, must not be null
.nonProxyHosts
- The list of hosts to exclude from proxying, may be null
.
null
.public Proxy getProxy(RemoteRepository repository)
ProxySelector
getProxy
in interface ProxySelector
repository
- The repository for which to select a proxy, must not be null
.
null
if none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |