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: [email protected] For additional commands, e-mail: [email protected]
