Annotation Interface RequestBody
Annotation used to indicate that a method parameter should be bound to the body of
the HTTP request.
Usage Example:
@RestController
public class MyRestController implements BringServlet {
@PostMapping(path = "/resource")
public void postResource(@RequestBody UserDto dto) {
// Your implementation logic here
}
}
This annotation does not have additional attributes when applied to a method parameter.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team