hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: How to send byte-array data in a multipart post?
Date Fri, 28 Feb 2003 12:37:25 GMT
You want to use the FilePart.  It accepts a PartSource in the 
constructor, which ByteArrayPartSource implements.

Mike

On Friday, February 28, 2003, at 07:04 AM, 
olaf.hahnl@notes.uni-paderborn.de wrote:

> I like to send data already in memory as a byte-array in a multipart 
> post.
> In the package "org.apache.commons.httpclient.methods.multipart" I saw 
> the
> class "ByteArrayPartSource" but no corresponding "ByteArrayPart" 
> class, to
> use in MultipartPostMethod.addPart(Part part). Is there a special 
> reason or
> problem why this class is not provided in the core.
>
> Thank you for your help,
> Olaf
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>


Mime
View raw message