Enum Class ConditionalRequestResult.PreconditionFailed.Reason
java.lang.Object
java.lang.Enum<ConditionalRequestResult.PreconditionFailed.Reason>
com.soklet.ConditionalRequestResult.PreconditionFailed.Reason
- All Implemented Interfaces:
Serializable, Comparable<ConditionalRequestResult.PreconditionFailed.Reason>, Constable
- Enclosing class:
ConditionalRequestResult.PreconditionFailed
public static enum ConditionalRequestResult.PreconditionFailed.Reason
extends Enum<ConditionalRequestResult.PreconditionFailed.Reason>
Reason the decisive precondition stopped processing. Invalid dates never produce a failure reason.
This enum may gain reviewed constants in Soklet 4.x; use a forward-compatible default when switching over its values.
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValid input evaluated false; weak If-Match tags and valid empty If-Match lists use this reason.Quote-aware list splitting exceeded its budget, currently 256 elements including empty elements.The applicable entity-tag field could not be parsed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CONDITION_FALSE
Valid input evaluated false; weak If-Match tags and valid empty If-Match lists use this reason. -
MALFORMED
The applicable entity-tag field could not be parsed. -
ENTITY_TAG_LIST_LIMIT_EXCEEDED
public static final ConditionalRequestResult.PreconditionFailed.Reason ENTITY_TAG_LIST_LIMIT_EXCEEDEDQuote-aware list splitting exceeded its budget, currently 256 elements including empty elements. Commas inside quoted tags do not count. This is not a claim that the field's syntax is invalid.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-