Package org.eclipse.jetty.http
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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
InputStreamContentSource
- Throws:
IOException
-
-
Method Details
-
fillBufferFromInputStream
- Overrides:
fillBufferFromInputStream
in classInputStreamContentSource
- Throws:
IOException
-