I need to set a timeout parameter for a URL. To see if the site is timing out, (if possible how long it takes to load the site), or just throw an exception if website is not loaded within given time. I know I am doing something wrong in the code below, does someone know
HttpClient client = new HttpClient(); HttpClientParams clientParams = new HttpClientParams(); clientParams.setConnectionManagerTimeout(10000); client.setParams(clientParams); Thanks Alex --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
