Spring Boot
@RequestMapping, @GetMapping 이란
제뉴어리맨
2021. 1. 18. 12:55
Spring 4.3부터 추가된 어노테이션 5개
@PostMapping @GetMapping @PutMapping @DeleteMapping @PatchMapping |
|
// 아래소스를 @RequestMapping(value ="/getBoardList", method = { RequestMethod.GET})
// 요렇게 줄일수 있다. @GetMapping("/getBoardList") |
출처: https://nocount.tistory.com/143 [오류노트]