Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 80480 invoked from network); 6 Jun 2003 08:51:30 -0000 Received: from mail.bearingpoint.com (HELO KCCXOEX10.corp.kpmgconsulting.com) (57.80.136.22) by daedalus.apache.org with SMTP; 6 Jun 2003 08:51:30 -0000 Received: from kccxoex06.corp.kpmgconsulting.com ([57.80.136.6]) by KCCXOEX10.corp.kpmgconsulting.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 6 Jun 2003 08:53:27 +0000 x-mimeole: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Questions related to the use of HttpClient classes Date: Fri, 6 Jun 2003 09:51:41 +0100 Message-ID: <825BF35A92B3F0479CC164ECBBE9376E0DE54F@kccxoex06.corp.kpmgconsulting.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Questions related to the use of HttpClient classes Thread-Index: AcMsBoeFGlLWIkOxR5aIctB4KmTD1wAAIgtA From: "Kalnichevski, Oleg" To: "Commons HttpClient Project" X-OriginalArrivalTime: 06 Jun 2003 08:53:27.0640 (UTC) FILETIME=[18A68580:01C32C09] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Manuel, HttpMethod instances and HttpConnection instances do not form any sort = of association. HttpMethod instance always receives HttpConnection as a = parameter, acts upon it, and then releases it (or is supposed to release = it) back to the connection manager. HttpMethod instance never keeps a = reference to its respective HttpConnection instance. Therefore pooling = of HttpMethods does not result in a pool of connections. As far as I can = tell, HttpMethod pooling does not really bring much. You may simply want = to maintain a pool of HttpClient instances instead. Oleg -----Original Message----- From: Manuel Castro Paliza [mailto:mcp219@tid.es] Sent: Friday, June 06, 2003 10:35 To: Commons HttpClient Project Subject: RE: Questions related to the use of HttpClient classes One question More. I'm working on a kind of proxy, I have ( a lot of ) different users connecting to different servers MultiThreadedHttpConnectionManager its not an option because each user = will do one request each time, and something like new HttpClient(MySingleton Instance of MultiThreadedHttpConnectionManager ) limits the maximum = number of connections to a host. I'm using a Pool of Methods but I don't know if this is also a = High-Level pool of Connections. So finally the cuestion is : is a Pool of Methods also a High-Level pool of Connections when not = using MultiThreadedHttpConnectionManager ? Can anybody help me? Thanks for this useful Component! --------------------------------------------------------------------- To unsubscribe, e-mail: = commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: = commons-httpclient-dev-help@jakarta.apache.org