[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-users
Subject:    Re: HttpURLConnection style OutputStream usage
From:       Santosh Gangadhar <santosh () wirkle ! com>
Date:       2009-01-12 13:57:04
Message-ID: 6a0454270901120555g45d94e06jae457de8c972e456 () mail ! gmail ! com
[Download RAW message or body]


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
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic