public final class ConservativeProxySelector extends Object implements ProxySelector
| Constructor and Description |
|---|
ConservativeProxySelector(ProxySelector selector)
Creates a new selector that delegates to the specified selector.
|
public ConservativeProxySelector(ProxySelector selector)
selector - The selector to delegate to in case a repository has no proxy yet, must not be 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–2017 The Apache Software Foundation. All rights reserved.