[CXF-5489] Add transferTo(file) functionality
authorDaniel Kulp <dkulp@apache.org>
Mon, 27 Jan 2014 18:59:37 +0000 (18:59 +0000)
committerDaniel Kulp <dkulp@apache.org>
Mon, 27 Jan 2014 18:59:37 +0000 (18:59 +0000)
commit6a9eec6adec3bd08dac318ad51df10959e919bac
tree5510732498b76138db88dab20442fe101fe6de65
parentde76767fa5f2e72b1cf3cbbb9bfd72e43cb4aab3
[CXF-5489] Add transferTo(file) functionality
Modified patch from Henry Clout applied

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1561791 13f79535-47bb-0310-9956-ffa450edef68
core/src/main/java/org/apache/cxf/attachment/DelegatingInputStream.java
core/src/main/java/org/apache/cxf/helpers/IOUtils.java
core/src/main/java/org/apache/cxf/helpers/LoadingByteArrayOutputStream.java
core/src/main/java/org/apache/cxf/io/CachedOutputStream.java
core/src/main/java/org/apache/cxf/io/Transferable.java [new file with mode: 0644]
rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/multipart/Attachment.java