hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: How can select HttpConnectionManager class?
Date Wed, 14 Jun 2006 07:26:24 GMT
On Wed, 2006-06-14 at 11:55 +0800, Qiang Zhou wrote:
> Dear All:
> 
>       Normal, I create new Httpclient object, always as this : "Httpclient
> client = new Httpclient()". In Httpclient3.0 API said, that would contain
> defautl connection manager object(SimpleConnectionManager).  I want get the
> different with SimpleConnectionManger,
> MultiThreadedHttpConnectionManager<file:///D:/Develope/API/commons-httpclient-3.0-beta1/docs/apidocs/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.html>.
> In our spec servlet, each access would setup an Httpconnection to links to
> others data server. Use the default setting or use
> MultiThreadedHttpConnectionManger?
> 
> 
> Best regards
> 
> qiang.zhou

HttpClient httpclient = new HttpClient(
  new MultiThreadedHttpConnectionManager());

Hope this helps

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message