Hi
Thanks for this question, forwarding to the users.
Are you referring to the client side code ? If yes then indeed your code
should close the streams once a call doing the upload returns.
Cheers, Sergey
On 12/09/16 21:31, Adam Decatur wrote:
Hello,
I am developing a Maven JAR in Eclipse that posts a Multipart to a
rest-based web-service. The multipart contains 2 or more Attachments.
The Attachments are being constructed with an InputStream. Do I need to
take care of closing these InputStreams? Or does CXF Apache do this for me?
Thank you,
Adam
*Adam Decatur*
Enterprise Software
*O* +1 913 227 1812**
*M* +1 330 506 0610**
[email protected] <mailto:[email protected]>
http://www.lexmark.com/common/images/email/lexmark-logo-email-signature.png
<http://www.lexmark.com/>
www.lexmark.com <http://www.lexmark.com>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/