The example you provided use the File as the buffer and then send as it over the network a RequestEntity. There is not direct IO writes to an http connection in HttpClient.
On Wed, Sep 17, 2008 at 10:52 AM, Oleg Kalnichevski <[EMAIL PROTECTED]>wrote: > On Wed, 2008-09-17 at 08:27 -0700, Yan aka. Yansheng wrote: > > I had a similar problem. From what I gathered, HttpClient does not > support > > stream IO directly. It's not meant for streaming IO. > > This is most certainly is _NOT_ the case. HttpClient is fully capable of > streaming data in and out since version 2.0. > > Oleg > > > So one solution is to > > buffer your output locally and send in batch at the end. > > > > Hope this helps. > > > > Yansheng Lin > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
