Interface StreamingContent

    • Method Detail

      • writeTo

        void writeTo​(OutputStream out)
              throws IOException
        Writes the byte content to the given output stream.

        Implementations must not close the output stream, and instead should flush the output stream. Some callers may assume that the the output stream has not been closed, and will fail to work if it has been closed.

        Parameters:
        out - output stream
        Throws:
        IOException