rabbit.httpio
Class ProxiedProxyChain
java.lang.Object
rabbit.httpio.ProxiedProxyChain
- All Implemented Interfaces:
- ProxyChain
public class ProxiedProxyChain
- extends Object
- implements ProxyChain
An implementation of ProxyChain that always goes through some
other proxy
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxiedProxyChain
public ProxiedProxyChain(InetAddress proxy,
int port,
String proxyAuth)
- Create a new ProxyChain that always will proxy to the given address
- Parameters:
proxy
- the hostname to connect toport
- the port to connect toproxyAuth
- the http basic proxy authentication token
getResolver
public Resolver getResolver(String url)
- Description copied from interface:
ProxyChain
- Get the Resolver to use for the given url
- Specified by:
getResolver
in interface ProxyChain
- Parameters:
url
- the address to connect to.
- Returns:
- the Resolver to use