Package fr.gouv.vitam.workspace.client
Class WorkspaceAutoCleanableStreamingOutput
java.lang.Object
fr.gouv.vitam.workspace.client.WorkspaceAutoCleanableStreamingOutput
- All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput
public class WorkspaceAutoCleanableStreamingOutput
extends Object
implements javax.ws.rs.core.StreamingOutput
-
Constructor Summary
ConstructorDescriptionWorkspaceAutoCleanableStreamingOutput
(InputStream is, WorkspaceClient workspaceClient, String containerName) -
Method Summary
-
Constructor Details
-
WorkspaceAutoCleanableStreamingOutput
public WorkspaceAutoCleanableStreamingOutput(InputStream is, WorkspaceClient workspaceClient, String containerName)
-
-
Method Details
-
write
public void write(OutputStream outputStream) throws IOException, javax.ws.rs.WebApplicationException - Specified by:
write
in interfacejavax.ws.rs.core.StreamingOutput
- Throws:
IOException
javax.ws.rs.WebApplicationException
-