Package org.infinispan.rest.framework
Enum Class LookupResult.Status
- All Implemented Interfaces:
Serializable
,Comparable<LookupResult.Status>
,Constable
- Enclosing interface:
LookupResult
Status of the lookup operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
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 class with the specified name.static LookupResult.Status[]
values()
Returns an array containing the constants of this enum class, 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 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
-