Package | Description |
---|---|
org.restlet |
Core classes of the API.
|
org.restlet.engine.application |
Supports Restlet applications.
|
org.restlet.engine.http |
Supports HTTP connectors.
|
org.restlet.engine.http.connector |
New advanced internal HTTP connector.
|
org.restlet.engine.http.header |
Supports HTTP header parsing and formatting.
|
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 |
---|---|
java.util.List<Range> |
Request.getRanges()
Returns the ranges to return from the target resource's representation.
|
Modifier and Type | Method and Description |
---|---|
void |
Request.setRanges(java.util.List<Range> ranges)
Sets the modifiable list of ranges to return from the target resource's
representation.
|
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 |
---|
RangeInputStream(java.io.InputStream in,
long totalSize,
Range range)
Constructs a stream exposing only a range of a given source stream.
|
RangeRepresentation(Representation wrappedRepresentation,
Range range)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Range> |
HttpRequest.getRanges() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Range> |
ConnectedRequest.getRanges() |
Modifier and Type | Method and Description |
---|---|
HeaderWriter<Range> |
RangeWriter.append(Range range) |
static java.util.List<Range> |
RangeReader.read(java.lang.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 java.lang.String |
RangeWriter.write(Range range,
long size)
Format
range as a Content-Range header value |
Modifier and Type | Method and Description |
---|---|
RangeWriter |
RangeWriter.append(java.util.List<Range> ranges)
Format
ranges as a Range header value |
static java.lang.String |
RangeWriter.write(java.util.List<Range> ranges)
Format
ranges as a Range header value |
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 |
---|---|
java.util.List<Range> |
UniformResource.getRanges()
Returns the ranges to return from the target resource's representation.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientResource.setRanges(java.util.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 |
---|---|
java.util.List<Range> |
WrapperRequest.getRanges() |
Modifier and Type | Method and Description |
---|---|
void |
WrapperRepresentation.setRange(Range range) |
Modifier and Type | Method and Description |
---|---|
void |
WrapperRequest.setRanges(java.util.List<Range> ranges) |
Copyright © 2005-2012. All Rights Reserved.