Class MultipleRangeWritingOutputStream

java.lang.Object
java.io.OutputStream
io.milton.http.http11.MultipleRangeWritingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class MultipleRangeWritingOutputStream extends OutputStream
Write the full content of yuor resource to this outputstream, and it will write the requested ranges, including multipart boundaries, to the wrapped outputstream
Author:
brad
  • Constructor Details

    • MultipleRangeWritingOutputStream

      public MultipleRangeWritingOutputStream(long totalResourceLength, OutputStream out, List<Range> ranges, String boundary, String contentType)
      Parameters:
      totalResourceLength -
      out -
      ranges -
      boundary -
      contentType -
  • Method Details