Class ConditionalRequestResult.Proceed
- All Implemented Interfaces:
ConditionalRequestResult
- Enclosing interface:
ConditionalRequestResult
The satisfied set describes only the supplied snapshot. It does not certify complete header validity, adequate lost-update protection, authorization, or continued truth at commit time. An internal storage compare-and-set failure requires fresh evaluation unless the application establishes an equivalent, narrowly accepted predicate.
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from interface ConditionalRequestResult
ConditionalRequestResult.NotModified, ConditionalRequestResult.Precondition, ConditionalRequestResult.PreconditionFailed, ConditionalRequestResult.ProceedModifier and TypeInterfaceDescriptionstatic final classGET/HEAD cache validation selected a bodyless304 Not Modified.static enumPreconditions handled by this decision API.static final classA precondition stopped processing.static final classNo conditional short circuit is required. -
Method Summary
-
Method Details
-
getSatisfiedPreconditions
Returns an immutable set of the present preconditions that were actually evaluated and true.Meaning of satisfied preconditions Member What held What it does not establish IF_MATCHA wildcard found an existing representation, or a list contained its current strong tag. A wildcard identifies no revision; this set does not disclose which form was used. IF_UNMODIFIED_SINCEAn available modification time was no later than the valid supplied date, at whole-second precision. No intervening write within that second. IF_NONE_MATCH, existing representationA valid list matched no current tag. An empty list qualifies, and every valid list is nonmatching when the current tag is unavailable. Revision-level lost-update protection. IF_NONE_MATCH, missing representationA wildcard or valid list evaluated true. That the client specifically required create-if-absent with a wildcard. IF_MODIFIED_SINCEGET/HEAD's available modification time was later than the valid supplied date. Any write guard. Invalid or unavailable dates and method-inapplicable or suppressed fields are absent. Any
If-Matchpresence suppressesIf-Unmodified-Since; anyIf-None-Matchpresence suppressesIf-Modified-Since, including empty or malformed values.OPTIONSalways has an empty set. No set contains bothIF_MATCHandIF_UNMODIFIED_SINCE, or bothIF_NONE_MATCHandIF_MODIFIED_SINCE. With no representation, only the empty set andIF_NONE_MATCHare possible. For an existing representation, GET/HEAD permits nine sets: empty; each individual member; and each ofIF_MATCH/IF_UNMODIFIED_SINCEpaired with each ofIF_NONE_MATCH/IF_MODIFIED_SINCE. Other applicable methods permit six: empty;IF_MATCH,IF_UNMODIFIED_SINCE, orIF_NONE_MATCHindividually; and either of the first two paired withIF_NONE_MATCH.- Returns:
- immutable satisfied preconditions; the set may be empty
-
equals
-
hashCode
-
toString
-