hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santosh Gangadhar <sant...@wirkle.com>
Subject Re: HttpURLConnection style OutputStream usage
Date Mon, 12 Jan 2009 13:55:40 GMT
Thanks, I will look for alternatively.
Santosh.

On Mon, Jan 12, 2009 at 7:12 PM, Oleg Kalnichevski <olegk@apache.org> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message