Enum Class RouteBuildItem.RouteType
java.lang.Object
java.lang.Enum<RouteBuildItem.RouteType>
io.quarkus.vertx.http.deployment.spi.RouteBuildItem.RouteType
- All Implemented Interfaces:
Serializable,Comparable<RouteBuildItem.RouteType>,Constable
- Enclosing class:
- RouteBuildItem
Type of routes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbsolute routes are part of the application business logic, and are mounted on the root router (exposed on /).Application routes are part of the application business logic.Framework routes are provided by the Quarkus framework (or extensions). -
Method Summary
Modifier and TypeMethodDescriptionstatic RouteBuildItem.RouteTypeReturns the enum constant of this class with the specified name.static RouteBuildItem.RouteType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FRAMEWORK_ROUTE
Framework routes are provided by the Quarkus framework (or extensions). They are not related to the application business logic, but provide a non-functional feature (health, metrics...).Framework route can be mounted on the application router (under the non application route path) or on the management router when enabled.
-
APPLICATION_ROUTE
Application routes are part of the application business logic. They are mounted on the application router (so the application prefix is applied). -
ABSOLUTE_ROUTE
Absolute routes are part of the application business logic, and are mounted on the root router (exposed on /).
-
-
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
-