Class ConditionalRequestResult.Proceed

java.lang.Object
com.soklet.ConditionalRequestResult.Proceed
All Implemented Interfaces:
ConditionalRequestResult
Enclosing interface:
ConditionalRequestResult

No conditional short circuit is required. Ignored or invalid fields do not necessarily prevent this result.

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
  • Method Details

    • getSatisfiedPreconditions

      Returns an immutable set of the present preconditions that were actually evaluated and true.
      Meaning of satisfied preconditions
      MemberWhat heldWhat 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-Match presence suppresses If-Unmodified-Since; any If-None-Match presence suppresses If-Modified-Since, including empty or malformed values. OPTIONS always has an empty set. No set contains both IF_MATCH and IF_UNMODIFIED_SINCE, or both IF_NONE_MATCH and IF_MODIFIED_SINCE. With no representation, only the empty set and IF_NONE_MATCH are possible. For an existing representation, GET/HEAD permits nine sets: empty; each individual member; and each of IF_MATCH/IF_UNMODIFIED_SINCE paired with each of IF_NONE_MATCH/IF_MODIFIED_SINCE. Other applicable methods permit six: empty; IF_MATCH, IF_UNMODIFIED_SINCE, or IF_NONE_MATCH individually; and either of the first two paired with IF_NONE_MATCH.

      Returns:
      immutable satisfied preconditions; the set may be empty
    • equals

      public boolean equals(@Nullable Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      Overrides:
      toString in class Object