Enum Class ValidationMetrics.SkipReason
java.lang.Object
java.lang.Enum<ValidationMetrics.SkipReason>
ch.nexsol.gateway.validation.ValidationMetrics.SkipReason
- All Implemented Interfaces:
Serializable, Comparable<ValidationMetrics.SkipReason>, Constable
- Enclosing class:
ValidationMetrics
Why a body was forwarded without being held against its schema.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe body is compressed, and decompressing it to validate it is out of scope.The media type carries nothing a JSON schema applies to: an upload, a binary stream, a form submission.The body is larger than the configured maximum.The length of the body is not announced, so buffering it could not be bounded. -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationMetrics.SkipReasonReturns the enum constant of this class with the specified name.static ValidationMetrics.SkipReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_JSON
The media type carries nothing a JSON schema applies to: an upload, a binary stream, a form submission. -
ENCODED
The body is compressed, and decompressing it to validate it is out of scope. -
TOO_LARGE
The body is larger than the configured maximum. -
UNKNOWN_LENGTH
The length of the body is not announced, so buffering it could not be bounded.
-
-
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
-