public final class DefaultProxySelector extends Object implements ProxySelector
| Constructor and Description |
|---|
DefaultProxySelector() |
| Modifier and Type | Method and Description |
|---|---|
DefaultProxySelector |
add(Proxy proxy,
String nonProxyHosts)
Adds the specified proxy definition to the selector.
|
Proxy |
getProxy(RemoteRepository repository) |
public DefaultProxySelector()
public DefaultProxySelector add(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 Proxy getProxy(RemoteRepository repository)
getProxy in interface ProxySelectorCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.