public class VitamStreamingOutput extends Object implements javax.ws.rs.core.StreamingOutput, VitamAutoCloseable
| Constructor and Description | 
|---|
| VitamStreamingOutput(File file,
                    boolean toDelete) | 
| VitamStreamingOutput(InputStream inputStream) | 
public VitamStreamingOutput(InputStream inputStream)
inputStream - the inputstream to forward without Async modepublic VitamStreamingOutput(File file, boolean toDelete)
file - the file to outputtoDelete - If True, will delete the file once sentpublic void write(OutputStream output) throws IOException
write in interface javax.ws.rs.core.StreamingOutputIOExceptionpublic void close()
close in interface VitamAutoCloseableclose in interface AutoCloseableCopyright © 2018 Vitam. All rights reserved.