Package | Description |
---|---|
org.restlet.data |
Information exchanged by components.
|
org.restlet.representation |
Common representation data elements.
|
org.restlet.util |
Various utility classes.
|
Modifier and Type | Field and Description |
---|---|
static Tag |
Tag.ALL
Tag matching any other tag, used in call's condition data.
|
Modifier and Type | Method and Description |
---|---|
Tag |
Conditions.getRangeTag()
Returns the range condition based on the entity tag of the requested
variant.
Note that when used with HTTP connectors, this property maps to the "If-Range" header. |
static Tag |
Tag.parse(java.lang.String httpTag)
Parses a tag formatted as defined by the HTTP standard.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Tag> |
Conditions.getMatch()
Returns the modifiable list of tags that must be matched.
|
java.util.List<Tag> |
Conditions.getNoneMatch()
Returns the modifiable list of tags that mustn't match.
|
Modifier and Type | Method and Description |
---|---|
Status |
Conditions.getRangeStatus(Tag tag,
java.util.Date modificationDate)
Returns the range conditional status of an entity.
|
Status |
Conditions.getStatus(Method method,
boolean entityExists,
Tag tag,
java.util.Date modificationDate)
Returns the conditional status of a variant using a given method.
|
void |
Conditions.setRangeTag(Tag rangeTag)
Sets the range condition based on the entity tag of the requested
variant.
Note that when used with HTTP connectors, this property maps to the "If-Range" header. |
Modifier and Type | Method and Description |
---|---|
void |
Conditions.setMatch(java.util.List<Tag> tags)
Sets the modifiable list of tags that must be matched.
Note that when used with HTTP connectors, this property maps to the "If-Match" header. |
void |
Conditions.setNoneMatch(java.util.List<Tag> tags)
Sets the modifiable list of tags that mustn't match.
|
Modifier and Type | Method and Description |
---|---|
Tag |
RepresentationInfo.getTag()
Returns the tag.
Note that when used with HTTP connectors, this property maps to the "ETag" header. |
Modifier and Type | Method and Description |
---|---|
void |
RepresentationInfo.setTag(Tag tag)
Sets the tag.
Note that when used with HTTP connectors, this property maps to the "ETag" header. |
Constructor and Description |
---|
Representation(MediaType mediaType,
java.util.Date modificationDate,
Tag tag)
Constructor.
|
Representation(MediaType mediaType,
Tag tag)
Constructor.
|
Representation(Variant variant,
java.util.Date modificationDate,
Tag tag)
Constructor from a variant.
|
Representation(Variant variant,
Tag tag)
Constructor from a variant.
|
RepresentationInfo(MediaType mediaType,
java.util.Date modificationDate,
Tag tag)
Constructor.
|
RepresentationInfo(MediaType mediaType,
Tag tag)
Constructor.
|
RepresentationInfo(Variant variant,
java.util.Date modificationDate,
Tag tag)
Constructor from a variant.
|
RepresentationInfo(Variant variant,
Tag tag)
Constructor from a variant.
|
Modifier and Type | Method and Description |
---|---|
Tag |
WrapperRepresentation.getTag() |
Modifier and Type | Method and Description |
---|---|
void |
WrapperRepresentation.setTag(Tag tag) |
Copyright © 2005-2020 Restlet.