| Package | Description |
|---|---|
| org.restlet |
Core classes of the Restlet API.
|
| org.restlet.data |
Information exchanged by components.
|
| org.restlet.engine.adapter |
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
|
| org.restlet.engine.application |
Supports Restlet applications.
|
| org.restlet.engine.header |
Supports HTTP header parsing and formatting.
|
| org.restlet.engine.io |
Supports input and output work.
|
| org.restlet.representation |
Common representation data elements.
|
| org.restlet.resource |
Client and server resource classes.
|
| org.restlet.util |
Various utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
List<Range> |
Request.getRanges()
Returns the ranges to return from the target resource's representation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Request.setRanges(List<Range> ranges)
Sets the modifiable list of ranges to return from the target resource's
representation.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Range.isBytesRange(Range range)
Indicates if the unit of the given range is "bytes".
|
| Modifier and Type | Method and Description |
|---|---|
List<Range> |
HttpRequest.getRanges() |
| Modifier and Type | Method and Description |
|---|---|
Range |
RangeRepresentation.getRange()
Returns the range specific to this wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RangeRepresentation.setRange(Range range)
Sets the range specific to this wrapper.
|
| Constructor and Description |
|---|
RangeRepresentation(Representation wrappedRepresentation,
Range range)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HeaderWriter<Range> |
RangeWriter.append(Range range) |
static List<Range> |
RangeReader.read(String rangeHeader)
Parse the Range header and returns the list of corresponding Range objects.
|
| Modifier and Type | Method and Description |
|---|---|
HeaderWriter<Range> |
RangeWriter.append(Range range) |
static String |
RangeWriter.write(Range range,
long size)
Formats
range as a Content-Range header value. |
| Modifier and Type | Method and Description |
|---|---|
RangeWriter |
RangeWriter.append(List<Range> ranges)
Formats
ranges as a Range header value |
static String |
RangeWriter.write(List<Range> ranges)
Formats
ranges as a Range header value |
| Constructor and Description |
|---|
RangeInputStream(InputStream in,
long totalSize,
Range range)
Constructs a stream exposing only a range of a given source stream.
|
| Modifier and Type | Method and Description |
|---|---|
Range |
Representation.getRange()
Returns the range where in the full content the partial content available
should be applied.
Note that when used with HTTP connectors, this property maps to the "Content-Range" header. |
| Modifier and Type | Method and Description |
|---|---|
void |
Representation.setRange(Range range)
Sets the range where in the full content the partial content available should
be applied.
Note that when used with HTTP connectors, this property maps to the "Content-Range" header. |
| Modifier and Type | Method and Description |
|---|---|
List<Range> |
Resource.getRanges()
Returns the ranges to return from the target resource's representation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientResource.setRanges(List<Range> ranges)
Sets the ranges to return from the target resource's representation.
|
| Modifier and Type | Method and Description |
|---|---|
Range |
WrapperRepresentation.getRange() |
| Modifier and Type | Method and Description |
|---|---|
List<Range> |
WrapperRequest.getRanges() |
| Modifier and Type | Method and Description |
|---|---|
void |
WrapperRepresentation.setRange(Range range) |
| Modifier and Type | Method and Description |
|---|---|
void |
WrapperRequest.setRanges(List<Range> ranges) |
Copyright © 2005–2025. All rights reserved.