commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex <>
Subject common-httpclient socket timeout
Date Mon, 20 Mar 2006 00:19:20 GMT
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();



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message