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,
Collection<String> nonProxyHosts)
Adds the specified proxy definition to the selector.
|
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 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. The
syntax of this list resembles that of the property "http.nonProxyHosts" from the JRE, i.e. the
asterisk character ('*') serves as a wildcard for pattern matching. Multiple entries are separated by
the pipe character ('|') or comma (',') and surrounding whitespace is trimmed.null.public DefaultProxySelector add(org.eclipse.aether.repository.Proxy proxy, Collection<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. The
asterisk character ('*') may be used as wildcard in a host name.null.public org.eclipse.aether.repository.Proxy getProxy(org.eclipse.aether.repository.RemoteRepository repository)
getProxy in interface org.eclipse.aether.repository.ProxySelectorCopyright © 2010-2016 The Eclipse Foundation. All Rights Reserved.