Class ObjectResource.ObjectStreamingOutput

java.lang.Object
io.goobi.viewer.api.rest.v1.records.media.ObjectResource.ObjectStreamingOutput
All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput
Enclosing class:
ObjectResource

public static class ObjectResource.ObjectStreamingOutput extends Object implements javax.ws.rs.core.StreamingOutput
  • Constructor Details

    • ObjectStreamingOutput

      public ObjectStreamingOutput(Path filePath)
  • Method Details

    • write

      public void write(OutputStream output) throws IOException, javax.ws.rs.WebApplicationException
      Specified by:
      write in interface javax.ws.rs.core.StreamingOutput
      Throws:
      IOException
      javax.ws.rs.WebApplicationException