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 -
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 classorg.eclipse.jetty.io.content.InputStreamContentSource
- Throws:
IOException
-