hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <...@odi.ch>
Subject Re: BasicHttpParams not thread-safe?
Date Sun, 01 Jun 2008 14:43:29 GMT

sebb wrote:
> It looks like BasicHttpParams is not thread-safe.

Does it need to be? The API Doc makes no such promise. That means the caller 
must properly synchronize access.

> Although it uses a HashMap (which is thread-safe) to store parameters,

No, HashMap is not thread-safe. Hashtable is.


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message