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.
-
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 TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.long
Deprecated, for removal: This API element is subject to removal in a future version.org.eclipse.jetty.io.Content.Chunk
read()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
rewind()
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:
demand
in interfaceorg.eclipse.jetty.io.Content.Source
-
fail
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
fail
in interfaceorg.eclipse.jetty.io.Content.Source
-
fail
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
fail
in 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:
getLength
in 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:
read
in 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:
rewind
in interfaceorg.eclipse.jetty.io.Content.Source
-
Content.Source.from(ByteBufferPool.Sized, Path, long, long)