Annotation Type Body


@Retention(CLASS) @Target(PARAMETER) public @interface Body
Marks an interface method parameter as the request body. The processor serialises the argument via Mappers.toJson(...) and attaches it with Content-Type: application/json. At most one @Body-annotated parameter is allowed per method.