On Tue, 2008-03-11 at 15:17 -0400, [EMAIL PROTECTED] wrote:
> HttpClient 3.0.1
> 

Implement a custom RequestEntity [1]. FileRequestEntity [2] may be a
reasonable starting point.

Hope this helps

Oleg

[1]
http://hc.apache.org/httpclient-3.x/xref/org/apache/commons/httpclient/methods/RequestEntity.html
[2]
http://hc.apache.org/httpclient-3.x/xref/org/apache/commons/httpclient/methods/FileRequestEntity.html

> -Valli 
> 
> -----Original Message-----
> From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 11, 2008 12:14 PM
> To: HttpClient User Discussion
> Subject: Re: Sending serialized object
> 
> 
> On Tue, 2008-03-11 at 01:49 -0400, [EMAIL PROTECTED] wrote:
> > > Hi All,
> > > 
> > > I'm new to HttpClient package. I've noticed that PostMethod 
> > > class does not have a method that would return OutputStream that I 
> > > could use to write the serialized object in to. This can be done
> using
> > > java.net.HttpURLConnection class.
> > > 
> > > Any suggestion on how to write same thing using httpclient?
> > >
> 
> Which version?
> 
> Oleg
> 
> 
> >  
> > > Thanks
> > > Valli
> > > 
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to