Henry Clout created CXF-5489:
--------------------------------
Summary: Add 'transferTo' functionality to Attachments
Key: CXF-5489
URL: https://issues.apache.org/jira/browse/CXF-5489
Project: CXF
Issue Type: Improvement
Components: JAX-RS
Reporter: Henry Clout
Attachments: transferTo.patch
As per the email thread : "Accessing temporary file name of attachments", I've
created a patch to add transferTo(File) functionality to attachments. In this
way, if the uploaded file has been saved as a temp file, an attempt is made to
perform an OS level file move rather than reading the file contents in to and
out of memory.
For large files accessed over network attached storage, this can be quite
beneficial.
Please let me know if this functionality could be included.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)