hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Cianci <mcia...@axecibles.com>
Subject timeout while waiting from reponse body ?
Date Thu, 12 Aug 2004 12:49:42 GMT
Hello everybody,

Sometimes, when this code line is executed :
byte[] responseBody = method.getResponseBody();
my thread is blocked because the response is not coming.

Is there a way to put something like a timeout in order to stop the 
thread after 1minute if  the response is not coming ?

Hope an HttpClient-lover will give me an answer


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message