com.ning.http.client
Interface ProxyServerSelector


public interface ProxyServerSelector

Selector for a proxy server


Field Summary
static ProxyServerSelector NO_PROXY_SELECTOR
          A selector that always selects no proxy.
 
Method Summary
 ProxyServer select(UriComponents uri)
          Select a proxy server to use for the given URI.
 

Field Detail

NO_PROXY_SELECTOR

static final ProxyServerSelector NO_PROXY_SELECTOR
A selector that always selects no proxy.

Method Detail

select

ProxyServer select(UriComponents uri)
Select a proxy server to use for the given URI.

Parameters:
uri - The URI to select a proxy server for.
Returns:
The proxy server to use, if any. May return null.


Copyright © 2014. All Rights Reserved.