Package io.quarkus.vertx.web
Annotation Type RouteBase
-
@Retention(RUNTIME) @Target(TYPE) public @interface RouteBase
Annotation used to configure some defaults for reactive routes declared on a class.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
consumes
The values are used for any route method declared on the class whereRoute.consumes()
is empty.String
path
The value is used as a prefix for any route method declared on the class whereRoute.path()
is used.String[]
produces
The values are used for any route method declared on the class whereRoute.produces()
is empty.
-
-
-
Element Detail
-
path
String path
The 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[] produces
The values are used for any route method declared on the class whereRoute.produces()
is empty.- Returns:
- the produced content types
- Default:
- {}
-
-
-
consumes
String[] consumes
The values are used for any route method declared on the class whereRoute.consumes()
is empty.- Returns:
- the consumed content types
- Default:
- {}
-
-