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)
Selects a proxy for the specified remote repository.
|
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)
ProxySelectorgetProxy in interface ProxySelectorrepository - The repository for which to select a proxy, must not be null.null if none.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.