Private
Readonly
indexPrivate
Readonly
mediaProtected
Readonly
sourceCreates a new resource in the container.
The identifier of the newly created resource.
Container in which to create a resource.
Representation of the new resource
Optional
conditions: ConditionsOptional conditions under which to proceed.
Deletes a resource.
Identifiers of resources that were possibly modified.
Identifier of resource to delete.
Optional
conditions: ConditionsOptional conditions under which to proceed.
Retrieves a representation of a resource.
A representation corresponding to the identifier.
Identifier of the resource to read.
Preferences indicating desired representations.
Optional
conditions: ConditionsOptional conditions under which to proceed.
Check if a resource exists in this ResourceSet.
A promise resolving if the resource already exists.
Identifier of resource to check.
Private
matchesMakes sure the stored media range explicitly matches the highest weight preference.
Sets or updates the representation of a resource, creating a new resource and intermediary containers as needed.
Identifiers of resources that were possibly modified.
Identifier of resource to update.
Description of which parts to update.
Optional
conditions: ConditionsOptional conditions under which to proceed.
Sets or replaces the representation of a resource, creating a new resource and intermediary containers as needed.
Identifiers of resources that were possibly modified.
Identifier of resource to update.
New representation of the resource.
Optional
conditions: ConditionsOptional conditions under which to proceed.
Allow containers to have a custom representation. The index representation will be returned when the following conditions are fulfilled:
indexName
exists in the container. (default: "index.html")mediaRange
(default: "text/html") Otherwise the request will be passed on to the source store. In case the index representation should always be returned when it exists, themediaRange
should be set to "*∕*".Note: this functionality is not yet part of the specification. Relevant issues are: