Interface StreamingOutput

  • public interface StreamingOutput
    A type that may be used as a resource method return value or as the entity in a Response when the application wishes to stream the output. This is a lightweight alternative to a MessageBodyWriter.
    Paul Sandoz, Marc Hadley
    See Also:
    MessageBodyWriter, Response
    • Method Summary

      Modifier and Type Method Description
      void write​(OutputStream output)
      Called to write the message body.