Class MultiPartByteRanges.InputStreamContentSource
java.lang.Object
org.eclipse.jetty.io.content.InputStreamContentSource
org.eclipse.jetty.http.MultiPartByteRanges.InputStreamContentSource
- All Implemented Interfaces:
Content.Source
- Enclosing class:
MultiPartByteRanges
A specialized InputStreamContentSource
whose content is sliced by a byte range.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Content.Source
Content.Source.Factory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intfillBufferFromInputStream(InputStream inputStream, byte[] buffer) Methods inherited from class InputStreamContentSource
demand, fail, getBufferSize, isUseDirectByteBuffers, read, setBufferSize, setUseDirectByteBuffersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Content.Source
fail, getLength, rewind
-
Constructor Details
-
InputStreamContentSource
- Throws:
IOException
-
-
Method Details
-
fillBufferFromInputStream
- Overrides:
fillBufferFromInputStreamin classInputStreamContentSource- Throws:
IOException
-