public final class JreProxySelector extends Object implements org.eclipse.aether.repository.ProxySelector
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 and Description |
---|
JreProxySelector()
Creates a new proxy selector that delegates to
ProxySelector.getDefault() . |
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.repository.Proxy |
getProxy(org.eclipse.aether.repository.RemoteRepository repository) |
public JreProxySelector()
ProxySelector.getDefault()
.public org.eclipse.aether.repository.Proxy getProxy(org.eclipse.aether.repository.RemoteRepository repository)
getProxy
in interface org.eclipse.aether.repository.ProxySelector
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.