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)
getProxy
in interface ProxySelector
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.