Class ConservativeProxySelector
java.lang.Object
org.eclipse.aether.util.repository.ConservativeProxySelector
- All Implemented Interfaces:
- ProxySelector
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 SummaryConstructorsConstructorDescriptionConservativeProxySelector(ProxySelector selector) Creates a new selector that delegates to the specified selector.
- 
Method SummaryModifier and TypeMethodDescriptiongetProxy(RemoteRepository repository) Selects a proxy for the specified remote repository.
- 
Constructor Details- 
ConservativeProxySelectorCreates a new selector that delegates to the specified selector.- Parameters:
- selector- the selector to delegate to in case a repository has no proxy yet, must not be- null
 
 
- 
- 
Method Details- 
getProxyDescription copied from interface:ProxySelectorSelects a proxy for the specified remote repository.- Specified by:
- getProxyin interface- ProxySelector
- Parameters:
- repository- The repository for which to select a proxy, must not be- null.
- Returns:
- The selected proxy or nullif none.
 
 
-