public final class DefaultProxySelector extends Object implements org.eclipse.aether.repository.ProxySelector
Constructor and Description |
---|
DefaultProxySelector() |
Modifier and Type | Method and Description |
---|---|
DefaultProxySelector |
add(org.eclipse.aether.repository.Proxy proxy,
String nonProxyHosts)
Adds the specified proxy definition to the selector.
|
org.eclipse.aether.repository.Proxy |
getProxy(org.eclipse.aether.repository.RemoteRepository repository) |
public DefaultProxySelector()
public DefaultProxySelector add(org.eclipse.aether.repository.Proxy proxy, String nonProxyHosts)
proxy
- The proxy definition to add, must not be null
.nonProxyHosts
- The list of (case-insensitive) host names to exclude from proxying, may be null
.null
.public org.eclipse.aether.repository.Proxy getProxy(org.eclipse.aether.repository.RemoteRepository repository)
getProxy
in interface org.eclipse.aether.repository.ProxySelector
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.