public final class ConservativeProxySelector extends Object implements ProxySelector
| Constructor and Description |
|---|
ConservativeProxySelector(ProxySelector selector)
Creates a new selector that delegates to the specified selector.
|
| Modifier and Type | Method and Description |
|---|---|
Proxy |
getProxy(RemoteRepository repository)
Selects a proxy for the specified remote repository.
|
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–2021 The Apache Software Foundation. All rights reserved.