Module org.eclipse.jetty.http
Package org.eclipse.jetty.http
Class MultiPartByteRanges.PathContentSource
java.lang.Object
org.eclipse.jetty.http.MultiPartByteRanges.PathContentSource
- All Implemented Interfaces:
org.eclipse.jetty.io.Content.Source
- Enclosing class:
MultiPartByteRanges
@Deprecated(forRemoval=true,
since="12.0.11")
public static class MultiPartByteRanges.PathContentSource
extends Object
implements org.eclipse.jetty.io.Content.Source
Deprecated, for removal: This API element is subject to removal in a future version.
A specialized Content.Source
whose Path 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
ConstructorsConstructorDescriptionPathContentSource(Path path, ByteRange byteRange) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.org.eclipse.jetty.io.Content.Chunkread()Deprecated, for removal: This API element is subject to removal in a future version.booleanrewind()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
PathContentSource
-
-
Method Details
-
demand
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
demandin interfaceorg.eclipse.jetty.io.Content.Source
-
fail
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
failin interfaceorg.eclipse.jetty.io.Content.Source
-
fail
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
failin interfaceorg.eclipse.jetty.io.Content.Source
-
getLength
public long getLength()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLengthin interfaceorg.eclipse.jetty.io.Content.Source
-
read
public org.eclipse.jetty.io.Content.Chunk read()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
readin interfaceorg.eclipse.jetty.io.Content.Source
-
rewind
public boolean rewind()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
rewindin interfaceorg.eclipse.jetty.io.Content.Source
-
Content.Source.from(ByteBufferPool.Sized, Path, long, long)