hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpURLConnection style OutputStream usage
Date Mon, 12 Jan 2009 13:42:36 GMT
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. 


> Thanks,
> Santosh.

To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message