|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.util.repository.ConservativeProxySelector
public class ConservativeProxySelector
A proxy selector that delegates to another selector but only if a repository has no proxy yet. If a proxy has already been assigned to a repository, that is selected.
| Constructor Summary | |
|---|---|
ConservativeProxySelector(ProxySelector selector)
Creates a new selector that delegates to the specified selector. |
|
| Method Summary | |
|---|---|
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 ConservativeProxySelector(ProxySelector selector)
selector - The selector to delegate to in case a repository has no proxy yet, must not be null.| Method Detail |
|---|
public Proxy getProxy(RemoteRepository repository)
ProxySelector
getProxy in interface ProxySelectorrepository - 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 | |||||||||