Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 11281 invoked from network); 12 Jan 2009 13:57:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jan 2009 13:57:04 -0000 Received: (qmail 61977 invoked by uid 500); 12 Jan 2009 13:57:02 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 61953 invoked by uid 500); 12 Jan 2009 13:57:02 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 61942 invoked by uid 99); 12 Jan 2009 13:57:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 05:57:02 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.142.187] (HELO ti-out-0910.google.com) (209.85.142.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 13:56:56 +0000 Received: by ti-out-0910.google.com with SMTP id a21so10204639tia.2 for ; Mon, 12 Jan 2009 05:55:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.110.28.15 with SMTP id b15mr14666938tib.56.1231768540950; Mon, 12 Jan 2009 05:55:40 -0800 (PST) In-Reply-To: <1231767757.5995.1.camel@ubuntu> References: <6a0454270901120211s48b15d76x276adca7e0d824c5@mail.gmail.com> <1231767757.5995.1.camel@ubuntu> Date: Mon, 12 Jan 2009 19:25:40 +0530 Message-ID: <6a0454270901120555g45d94e06jae457de8c972e456@mail.gmail.com> Subject: Re: HttpURLConnection style OutputStream usage From: Santosh Gangadhar To: HttpClient User Discussion Content-Type: multipart/alternative; boundary=001485f499ee54327b046049767f X-Virus-Checked: Checked by ClamAV on apache.org --001485f499ee54327b046049767f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks, I will look for alternatively. Santosh. On Mon, Jan 12, 2009 at 7:12 PM, Oleg Kalnichevski wrote: > On Mon, 2009-01-12 at 15:41 +0530, Santosh Gangadhar wrote: > > Hi all, > > Is there a way to use Http Client in the HttpURLConnection style where > one > > can extract the OutputStream from it any write the data to be sent to the > > server in chunked encoding. I have explored RequestEntity(s) already but > > these do not suit the requirement. We want the invocation to be the other > > way round i.e. the code to invoke HttpClient (via OutputStream). Rather > than > > HttpClient invoking the code (via RequestEntity). > > > > No, there is not. The use of RequestEntity instead of OutputStream > enables HttpClient to automatically retry requests in case of I/O or an > authentication failure. > > Oleg > > > Thanks, > > Santosh. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org > > --001485f499ee54327b046049767f--