HttpClient.executeMethod
   (HostConfiguration, HttpMethod, HttpState)

If you have used the same client from different
threads without specifying different states, that
might be a problem.

Well, i use this method now from different thread with different HttpStates. I'd like to use even one HttpState-Object from different threads! Is that possible. I'm doing that right now, but i'm not sure if the HttpClient-APIs cares about that case.


If not, that would be very easy:

synchronized (state)
{
  //get cookie headers
}

//execute HTTP-request

synchronized (state)
{
  //put cookie header
}



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to