rabbit.httpio
Class InOutProxyChain

java.lang.Object
  extended by 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

Constructor Summary
InOutProxyChain(String insideMatch, NioHandler nio, DNSHandler dnsHandler, InetAddress proxy, int port, String proxyAuth)
           
 
Method Summary
 Resolver getResolver(String url)
          Get the Resolver to use for the given url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InOutProxyChain

public InOutProxyChain(String insideMatch,
                       NioHandler nio,
                       DNSHandler dnsHandler,
                       InetAddress proxy,
                       int port,
                       String proxyAuth)
Method Detail

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