Apache CXF API

org.apache.cxf.io
Interface CopyingOutputStream

All Known Implementing Classes:
AsyncHTTPConduit.AsyncWrappedOutputStream

public interface CopyingOutputStream

Marker interface for OutputStreams that can directly support copying from an input stream. OutputStreams that maintain their own byte buffer or similar may be able to optimize the copy instead of using the read/write into a temporary buffer that the normal IOUtils.copy method requires.


Method Summary
 int copyFrom(InputStream in)
           
 

Method Detail

copyFrom

int copyFrom(InputStream in)
             throws IOException
Throws:
IOException

Apache CXF API

Apache CXF