Package io.quarkus.vertx.web
Annotation Interface RouteBase
Annotation used to configure some defaults for reactive routes declared on a class.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]The values are used for any route method declared on the class whereRoute.consumes()is empty.The value is used as a prefix for any route method declared on the class whereRoute.path()is used.String[]The values are used for any route method declared on the class whereRoute.produces()is empty.
-
Element Details
-
path
String pathThe value is used as a prefix for any route method declared on the class whereRoute.path()is used.- Returns:
- the path prefix
- Default:
- ""
-
produces
String[] producesThe values are used for any route method declared on the class whereRoute.produces()is empty.- Returns:
- the produced content types
- Default:
- {}
-
consumes
String[] consumesThe values are used for any route method declared on the class whereRoute.consumes()is empty.- Returns:
- the consumed content types
- Default:
- {}
-