Yes, that is being done in the code.
**
*this*.conManager = *new* MultiThreadedHttpConnectionManager();

HttpConnectionManagerParams params = *new* HttpConnectionManagerParams();
params.setMaxTotalConnections(*this*.config.getMaxConnections());
params.setDefaultMaxConnectionsPerHost(*this*.config.getMaxConnections());
params.setMaxTotalConnections(*this*.config.getMaxConnections());
*this*.conManager.setParams(params);

*this*.clientParams = *new* HttpClientParams();
*this*.clientParams.setSoTimeout(*this*.config.getTimeout());

HttpClient client = *new* HttpClient();

client.setHttpConnectionManager(*this*.conManager);
client.setParams(*this*.clientParams);


On 12/4/07, Roland Weber <[EMAIL PROTECTED]> wrote:
>
> Pradeep Avadhani wrote:
>
> > You have
> > mentioned analyzing multi-threading, but I'm not sure how to uncover
> them on
> > the client side. Any ideas?
>
> If you are passing a MultiThreadedHttpConnectionManager to
> the constructor of HttpClient, that client is thread safe.
> If you don't, it is not.
>
> cheers,
> Roland
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to