Package net.officefloor.web.route
Enum Class WebRouteNode.WebRouteResultEnum
java.lang.Object
java.lang.Enum<WebRouteNode.WebRouteResultEnum>
net.officefloor.web.route.WebRouteNode.WebRouteResultEnum
- All Implemented Interfaces:
Serializable,Comparable<WebRouteNode.WebRouteResultEnum>,Constable
- Enclosing interface:
- WebRouteNode
Indicates possible matching of
WebRouteNode.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFull match.Path matches but not the HTTP method.No path match. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static WebRouteNode.WebRouteResultEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_MATCH
No path match. -
MATCH_PATH_NOT_METHOD
Path matches but not the HTTP method. -
MATCH
Full match.
-
-
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
-