Annotation Interface RequestParam
Annotation used to indicate that a method parameter should be bound to a query parameter
in a web request.
Usage Example:
@RestController
public class MyRestController implements BringServlet {
@GetMapping(path = "/resource")
public ResponseEntity<Resource> getResource(@RequestParam Long id, @RequestParam String name) {
// Your implementation logic here
}
}
- Since:
- 1.0
- Author:
- Blyzhnytsia Team