Class JreProxySelector
java.lang.Object
org.eclipse.aether.util.repository.JreProxySelector
- All Implemented Interfaces:
 ProxySelector
A proxy selector that uses the 
JRE's global proxy selector. In
 combination with the system property java.net.useSystemProxies, this proxy selector can be employed to pick
 up the proxy configuration from the operating system, see Java Networking and Proxies for
 details. The JRE's global authenticator is used to look up credentials for a proxy
 when needed.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetProxy(RemoteRepository repository) Selects a proxy for the specified remote repository. 
- 
Constructor Details
- 
JreProxySelector
public JreProxySelector()Creates a new proxy selector that delegates toProxySelector.getDefault(). 
 - 
 - 
Method Details
- 
getProxy
Description copied from interface:ProxySelectorSelects a proxy for the specified remote repository.- Specified by:
 getProxyin interfaceProxySelector- Parameters:
 repository- The repository for which to select a proxy, must not benull.- Returns:
 - The selected proxy or 
nullif none. 
 
 -