|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.httpio.SimpleProxyChain
public class SimpleProxyChain
A default implementation of a ProxyChain that always return the same SimpleResolver.
| Constructor Summary | |
|---|---|
SimpleProxyChain(NioHandler nio,
DNSHandler dnsHandler)
Create a new Proxy chain that always uses direct connections. |
|
| Method Summary | |
|---|---|
Resolver |
getResolver(java.lang.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 |
|---|
public SimpleProxyChain(NioHandler nio,
DNSHandler dnsHandler)
nio - the NioHandler to use for running background tasksdnsHandler - the DNSHandler to use for DNS lookups| Method Detail |
|---|
public Resolver getResolver(java.lang.String url)
ProxyChain
getResolver in interface ProxyChainurl - the address to connect to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||