Hi,
I have some URLConnection code that connects through a proxy:
============================
java.net.URL url = new java.net.URL("http://www.google.com");
java.net.SocketAddress sa = new java.net.InetSocketAddress("myproxyserver",
8080);
java.net.Proxy proxy = new java.net.Proxy(java.net.Proxy.Type.HTTP, sa);
java.net.HttpURLConnection con = (java.net.HttpURLConnection)
url.openConnection(proxy);
============================
and I want to convert that to equivalent httpclient code but I can't seem to
find the right way to do that. Can someone point me in the right direction?
Thanks...
Kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]