Annotation Interface RequestBody


@Documented @Target(PARAMETER) @Retention(RUNTIME) public @interface RequestBody
Injects the request body into the annotated parameter. The type of the parameter must be one of: String, byte[], InputStream or JsonDocument. Json documents will be decoded by reading the request body from the input stream.
Since:
4.0