본문 바로가기
Dev/Spring

[Spring] @RequestMapping 이해하기

by 코딩삐약 2021. 6. 7.

@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