[ 
https://issues.apache.org/jira/browse/CXF-5489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-5489.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.9
         Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.7.9
>
>         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)

Reply via email to