Package org.asynchttpclient.proxy
Interface ProxyServerSelector
- 
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
 @FunctionalInterface public interface ProxyServerSelector Selector for a proxy server
- 
- 
Field SummaryFields Modifier and Type Field Description static ProxyServerSelectorNO_PROXY_SELECTORA selector that always selects no proxy.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ProxyServerselect(Uri uri)Select a proxy server to use for the given URI.
 
- 
- 
- 
Field Detail- 
NO_PROXY_SELECTORstatic final ProxyServerSelector NO_PROXY_SELECTOR A selector that always selects no proxy.
 
- 
 - 
Method Detail- 
select@Nullable @Nullable ProxyServer select(Uri 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.
 
 
- 
 
-