Package org.infinispan.rest.framework
Enum LookupResult.Status
- All Implemented Interfaces:
Serializable
,Comparable<LookupResult.Status>
- Enclosing interface:
- LookupResult
Status of the lookup operation.
-
Enum Constant Summary
Enum ConstantDescriptionA resource was found to handle the requestA resource was found but the action parameter is missing or incorrectA resource was found but the Http Method is not allowedA resource was not found -
Method Summary
Modifier and TypeMethodDescriptionstatic LookupResult.Status
Returns the enum constant of this type with the specified name.static LookupResult.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FOUND
A resource was found to handle the request -
NOT_FOUND
A resource was not found -
INVALID_METHOD
A resource was found but the Http Method is not allowed -
INVALID_ACTION
A resource was found but the action parameter is missing or incorrect
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-