Class MultiPartByteRanges.InputStreamContentSource

java.lang.Object
org.eclipse.jetty.io.content.InputStreamContentSource
org.eclipse.jetty.http.MultiPartByteRanges.InputStreamContentSource
All Implemented Interfaces:
org.eclipse.jetty.io.Content.Source
Enclosing class:
MultiPartByteRanges

public static class MultiPartByteRanges.InputStreamContentSource extends org.eclipse.jetty.io.content.InputStreamContentSource

A specialized InputStreamContentSource whose content is sliced by a byte range.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Content.Source

    org.eclipse.jetty.io.Content.Source.Factory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
    fillBufferFromInputStream(InputStream inputStream, byte[] buffer)
     

    Methods inherited from class org.eclipse.jetty.io.content.InputStreamContentSource

    demand, fail, getBufferSize, isUseDirectByteBuffers, read, setBufferSize, setUseDirectByteBuffers

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.io.Content.Source

    fail, getLength, rewind
  • Constructor Details

  • Method Details

    • fillBufferFromInputStream

      protected int fillBufferFromInputStream(InputStream inputStream, byte[] buffer) throws IOException
      Overrides:
      fillBufferFromInputStream in class org.eclipse.jetty.io.content.InputStreamContentSource
      Throws:
      IOException