But there is some problem with Proxy.Type.HTTP. Its not showing any error or exception. In the console, it just stops after printing �After SocketAddress� line. I have manually tested my proxy address and port in IE and they are correct(iam able to connect to internet using these).
Do let me know if you have any suggestions on this. Or it would be great if you have any other code to invoke a url. I just want to invoke a url like google.com and get the resultant html as an inputstream.