Package io.quarkus.vertx.web
Annotation Type Body
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface Body
Identifies a route method parameter that should be injected with a value returned from:RoutingContext.getBody()
for typeBuffer
RoutingContext.getBodyAsString()
for typeString
RoutingContext.getBodyAsJson()
for typeJsonObject
RoutingContext.getBodyAsJsonArray()
for typeJsonArray
RoutingContext.getBodyAsJson()
andJsonObject.mapTo(Class)
for any other type