org.sonatype.aether.repository
Interface ProxySelector

All Known Implementing Classes:
ConservativeProxySelector, DefaultProxySelector

public interface ProxySelector

Selects a proxy for a given remote repository.

Author:
Benjamin Bentmann

Method Summary
 Proxy getProxy(RemoteRepository repository)
          Selects a proxy for the specified remote repository.
 

Method Detail

getProxy

Proxy getProxy(RemoteRepository repository)
Selects a proxy for the specified remote repository.

Parameters:
repository - The repository for which to select a proxy, must not be null.
Returns:
The selected proxy or null if none.


Copyright © 2010-2012. All Rights Reserved.