rabbit.httpio
Class InOutProxyChain
java.lang.Object
rabbit.httpio.InOutProxyChain
- All Implemented Interfaces:
- ProxyChain
public class InOutProxyChain
- extends Object
- implements ProxyChain
A proxy chain that connects directly to the local network and uses
a chained proxy to connect to the outside.
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InOutProxyChain
public InOutProxyChain(String insideMatch,
NioHandler nio,
DNSHandler dnsHandler,
InetAddress proxy,
int port,
String proxyAuth)
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