aspose file tools
The moose likes Java in General and the fly likes locate proxy for a url Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "locate proxy for a url" Watch "locate proxy for a url" New topic
Author

locate proxy for a url

rajakumar reddy
Greenhorn

Joined: Oct 20, 2005
Posts: 1
Hi,

I need to get the proxy info for a given url

Ex:


hi,
public void getProxy(String url)
//url example http://yahoo.com/
{
get proxyserverHostName for the above Url
get proxyserverportNo for the above URL
}


can any body please help me

Thanks
Raju
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Isn't the port of a proxy normally 80, and needs to be known in advance, if you want to use it?

You like to get a page from yahoo for example, and you assume, that the answer is coming from a proxy instead - is that right?


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: locate proxy for a url
 
Similar Threads
How to retrieve JWS proxy setting
WCS V5.1 Staging Server
HTTPS Request with Proxy server.
java.net.ConnectException: Connection refused: connect
URLConnection Doubts -- Urgent!!