Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 85553 invoked from network); 22 Sep 2003 09:30:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Sep 2003 09:30:44 -0000 Received: (qmail 28420 invoked by uid 500); 22 Sep 2003 09:30:17 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 28403 invoked by uid 500); 22 Sep 2003 09:30:17 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 28382 invoked from network); 22 Sep 2003 09:30:16 -0000 Received: from unknown (HELO ctsinblrsxib.cts.com) (203.200.17.110) by daedalus.apache.org with SMTP; 22 Sep 2003 09:30:16 -0000 Received: from 10.236.161.27 by ctsinblrsxib.cts.com (InterScan E-Mail VirusWall NT); Mon, 22 Sep 2003 15:03:03 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-cd1a2b77-3c5f-4e7a-adbb-7a0b6f5de09d" Subject: doubt on HttpClient design regarding HttpMethod Date: Mon, 22 Sep 2003 15:03:03 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: doubt on HttpClient design regarding HttpMethod Thread-Index: AcOA7IScgqHNpqEmQIOsL5w6l8o2dw== From: "Elankath, Tarun (Cognizant)" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-cd1a2b77-3c5f-4e7a-adbb-7a0b6f5de09d Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I am new to HttpClient and was reading through its "Getting started" = section. What struck me immediately is that HttpMethods are full-fledged = objects of their own in HttpClient. I think this is a great idea. However, I don't understand why HttpClient couldn't have something like = a HttpResponse object that is returned when execute() is called. It just = seems a bit kludgy to call getResponse() on the HttpMethod object = itself. Was there a design reason on why this was done ? PLUS: I am enjoying this library. Thank you for it! Regards, Tarun ------=_NextPartTM-000-cd1a2b77-3c5f-4e7a-adbb-7a0b6f5de09d Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com ------=_NextPartTM-000-cd1a2b77-3c5f-4e7a-adbb-7a0b6f5de09d Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org ------=_NextPartTM-000-cd1a2b77-3c5f-4e7a-adbb-7a0b6f5de09d--