Package org.eclipse.jetty.http
Class MultiPartByteRanges.PathContentSource
java.lang.Object
org.eclipse.jetty.io.content.PathContentSource
org.eclipse.jetty.http.MultiPartByteRanges.PathContentSource
- All Implemented Interfaces:
Content.Source
- Enclosing class:
- MultiPartByteRanges
A specialized PathContentSource
whose content is sliced by a byte range.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isReadComplete
(long read) protected SeekableByteChannel
open()
protected int
read
(SeekableByteChannel channel, ByteBuffer byteBuffer) Methods inherited from class org.eclipse.jetty.io.content.PathContentSource
demand, fail, getBufferSize, getLength, getPath, isUseDirectByteBuffers, read, rewind, 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
-
Constructor Details
-
PathContentSource
-
-
Method Details
-
open
- Overrides:
open
in classPathContentSource
- Throws:
IOException
-
read
- Overrides:
read
in classPathContentSource
- Throws:
IOException
-
isReadComplete
protected boolean isReadComplete(long read) - Overrides:
isReadComplete
in classPathContentSource
-