Hello Jim,
do you have tried the chained proxy feature?
if (mPlatform.isChainedProxy()) {
log.debug("Adding chained proxy...");
b.withChainProxyManager(createChainProxyManager());
}
...
private ChainedProxyManager createChainProxyManager() {
final int port = mPlatform.getChainedProxyPort();
final String host = mPlatform.getChainedProxyAddress();
log.info(" (with chained proxy at {}:{})", host, port);
ChainedProxyManager chainProxyManager = new ChainedProxyManager() {
public void lookupChainedProxies(HttpRequest httpRequest,
Queue<ChainedProxy> chainedProxies) {
chainedProxies.add(new ChainedProxyAdapter() {
@Override
public InetSocketAddress getChainedProxyAddress() {
return new InetSocketAddress(host, port);
}
});
// No fallback, this should fail, if not available.
//
chainedProxies.add(ChainedProxyAdapter.FALLBACK_TO_DIRECT_CONNECTION);
}
};
return chainProxyManager;
}
Regards Frank
> --
> You received this message because you are subscribed to the Google
> Groups "LittleProxy" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
littleproxy...@googlegroups.com
> <mailto:
littleproxy...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.