> I would like to ask if it is possible to send Multipart request (using
> post method - described in the documentation), but to supply
> InputStream to the ByteArrayPartSource?

No, it is not possible to supply an input stream to the 
ByteArrayPartSource.

> I would like to send data and avoid creating temp file, since data is
> read from different source,
> and available through InputStream.

Then you should implement your own PartSource.
See FilePartSource for an example.

http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/methods/multipart/PartSource.html
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/methods/multipart/FilePartSource.html

hope that helps,
  Roland

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to