hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Java Prog" <javapri...@gmail.com>
Subject Sending data through stream
Date Tue, 13 Feb 2007 10:31:49 GMT
Dear all,
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?

I would like to send data and avoid creating temp file, since data is
read from different source,
and available through InputStream.
In docs for HttpClient ByteArrayPartSource it says that this class
should be used only for data already loaded in memory (I would like to
minimize usage of the memory).

Is this possible at all and is there some example how to do this.

Regards,
JP

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message