Package eu.cloudhopper.mc.annotations
Annotation Interface RequestBody
Marks a method parameter as the deserialized request body. The incoming
payload is converted to the parameter's declared type before the
Function-annotated method is invoked. At most one parameter per
method may carry this annotation.
Usage:
public MyResponse handle(@RequestBody MyRequest body) { ... }
- See Also: