@RequestMapping은 DefaultAnnotationHandlerMapping에서 컨트롤러를 선택할 때 대표적으로 사용하는 애노테이션이다.
url당 하나의 컨트롤러에 매핑되던 다른 핸들러 매핑과 달리 메서드 단위까지 세분화하여 적용할 수 있으며,
url 뿐 아니라 파라미터, 헤더 등 더욱 넓은 범위를 적용할 수 있다.
https://joont92.github.io/spring/@RequestMapping/
[spring] @RequestMapping
@RequestMapping은 DefaultAnnotationHandlerMapping에서 컨트롤러를 선택할 때 대표적으로 사용하는 애노테이션이다. url당 하나의 컨트롤러에 매핑되던 다른 핸들러 매핑과 달리 메서드 단위까지 세분화하
joont92.github.io
https://sarc.io/index.php/development/1139-requestmapping
@RequestMapping 어노테이션에 대하여
[{"id":"12","listid":"1","parentid":"0","videosource":"","videoid":"","imageurl":"","title":"","description":"","custom_imageurl":"","custom_title":"","custom_description":"","specialparams":"","lastupdate":"0000-00-00 00:00:00","allowupdates":"1","status"
sarc.io
'Dev > Spring' 카테고리의 다른 글
[Spring] BeanUtils 관련 (0) | 2021.06.22 |
---|---|
[Spring] @Mapper/@Repository 이해하기 (0) | 2021.06.07 |
[Spring] @ResponseBody 이해하기 (0) | 2021.06.07 |
[Spring] @Component 애노테이션 및 함께 사용하는 애노테이션 정리 (0) | 2021.06.04 |
[Spring] HandlerInterceptorAdapter (0) | 2021.06.04 |