Optional
Readonly
matchesETagValid if matching any of the given ETags.
Optional
Readonly
modifiedValid if modified since the given date.
Optional
Readonly
notValid if not matching any of the given ETags.
Optional
Readonly
unmodifiedValid if not modified since the given date.
Checks validity based on the given ETag and/or date.
This function assumes the resource being checked exists.
If not, the matchesMetadata
function should be used.
Optional
eTag: stringCondition based on ETag.
Optional
lastModified: DateCondition based on last modified date.
Checks validity based on the given metadata.
Optional
metadata: RepresentationMetadataMetadata of the representation. Undefined if the resource does not exist.
Stores all the relevant Conditions values and matches them based on RFC7232.