Class PreconditionRequired

All Implemented Interfaces:
Serializable, HttpResponseMessage
Direct Known Subclasses:
PreconditionRequired.Unmodifiable

Represents an HTTP 428 Precondition Required error response.

The origin server requires the request to be conditional.

See Also:
Since:
9.2.1
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • unmodifiable

      Description copied from class: BasicHttpException
      Returns an unmodifiable snapshot of this bean.

      The returned instance is a point-in-time copy of the leaf's nested Unmodifiable type; any attempt to set a property on it throws an UnsupportedOperationException. This method is idempotent: if this bean is already unmodifiable it returns itself rather than taking another snapshot. The receiver is left unchanged (and still modifiable unless it was already unmodifiable).

      Overrides:
      unmodifiable in class BasicHttpException
      Returns:
      An unmodifiable snapshot of this bean, or this bean if it is already unmodifiable.