public void remapHost(String source, String target) {
client.remapHost(source, target);
}
So for example you can do:
ProxyServer p = new ProxyServer(9091);
p.remapHost("example.com", 1.2.3.4);
That will make any lookup to example.com bypass DNS and go to 1.2.3.4. Keep in mind that it *only* works for example.com, and not www.example.com or any other host.
Hope that helps!
--
Patrick Lightbody
+1 (415) 830-5488