public interface ChainedProxyManager
Interface for classes that manage chained proxies.
| Modifier and Type | Method and Description |
|---|---|
void |
lookupChainedProxies(io.netty.handler.codec.http.HttpRequest httpRequest,
Queue<ChainedProxy> chainedProxies)
Based on the given httpRequest, add any
ChainedProxys to the list
that should be used to process the request. |
void lookupChainedProxies(io.netty.handler.codec.http.HttpRequest httpRequest,
Queue<ChainedProxy> chainedProxies)
Based on the given httpRequest, add any ChainedProxys to the list
that should be used to process the request. The upstream proxy will
attempt to connect to each of these in the order that they appear until
it successfully connects to one.
To allow the proxy to fall back to a direct connection, you can add
ChainedProxyAdapter.FALLBACK_TO_DIRECT_CONNECTION to the end of
the list.
httpRequest - chainedProxies - Copyright © 2009-2013 LittleShoot. All Rights Reserved.