Module org.eclipse.jetty.http
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:
org.eclipse.jetty.io.Content.Source
- Enclosing class:
MultiPartByteRanges
public static class MultiPartByteRanges.PathContentSource
extends org.eclipse.jetty.io.content.PathContentSource
A specialized PathContentSource
whose content is sliced by a byte range.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisReadComplete(long read) protected SeekableByteChannelopen()protected intread(SeekableByteChannel channel, ByteBuffer byteBuffer) Methods inherited from class org.eclipse.jetty.io.content.PathContentSource
demand, fail, getBufferSize, getLength, getPath, isUseDirectByteBuffers, read, rewind, setBufferSize, setUseDirectByteBuffersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.io.Content.Source
fail
-
Constructor Details
-
PathContentSource
-
-
Method Details
-
open
- Overrides:
openin classorg.eclipse.jetty.io.content.PathContentSource- Throws:
IOException
-
read
- Overrides:
readin classorg.eclipse.jetty.io.content.PathContentSource- Throws:
IOException
-
isReadComplete
protected boolean isReadComplete(long read) - Overrides:
isReadCompletein classorg.eclipse.jetty.io.content.PathContentSource
-