1. 개요
2. 내용
Spring 4.x부터 HTTP 메소드에 대응하는 새로운 어노테이션이 추가됨
- @GetMapping
- @PostMapping
- @PutMapping
- @DeleteMapping
- @PatchMapping
예를 들어 @GetMapping은, @RequestMapping(method = RequestMethod.GET) 의미
1. 개요
2. 내용
Spring 4.x부터 HTTP 메소드에 대응하는 새로운 어노테이션이 추가됨
예를 들어 @GetMapping은, @RequestMapping(method = RequestMethod.GET) 의미
로그인 상태가 아닙니다.