commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Charles Huey" <>
Subject Will HttpClient wait for response before continuing?
Date Mon, 07 Feb 2005 16:18:49 GMT
If you do a GET or POST and call getResponseBodyAsString, HttpClient
obviously has to wait for the response.  If you don't call that, will it
just continue on to the next request before finishing getting the
response from the first one?  I'm trying to debug some connection
pooling stuff on our web app.  Here's some sample code from my load

int result = hc.executeMethod(getLogin);
doNothing(2000);  // wait 2 seconds


doNothing(2000);  // wait 2 seconds

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

View raw message