public interface ProxyRegistry
Modifier and Type | Method and Description |
---|---|
Map<RepositoryType,List<RepositoryProxyHandler>> |
getAllHandler()
Returns a map that contains a list of repository handlers for each repository type.
|
List<RepositoryProxyHandler> |
getHandler(RepositoryType type)
Returns the repository handler that are defined for the given repository type.
|
NetworkProxy |
getNetworkProxy(String id)
Returns the network proxy that is configured for the given id (repository id).
|
Map<String,List<ProxyConnector>> |
getProxyConnectorAsMap()
Returns a map of connector lists with the source repository id as key
|
List<ProxyConnector> |
getProxyConnectors()
Returns the list of all proxy connectors.
|
boolean |
hasHandler(RepositoryType type)
Returns true, if there are proxy handler registered for the given type.
|
void |
reload()
Reloads the proxies from the configuration.
|
NetworkProxy getNetworkProxy(String id)
id
- The proxy idMap<RepositoryType,List<RepositoryProxyHandler>> getAllHandler()
List<RepositoryProxyHandler> getHandler(RepositoryType type)
type
- The repository typeboolean hasHandler(RepositoryType type)
type
- The repository typeList<ProxyConnector> getProxyConnectors()
Map<String,List<ProxyConnector>> getProxyConnectorAsMap()
void reload()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.