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

Mathias

Reply via email to