반응형 HandlerMethod1 [Spring] Handler Method(핸들러 메소드) Spring Web에서 사용자의 요청을 받아서 응답을 리턴하는 메소드 1. 매핑정보 : GetMapping, PostMapping ... 2. 요청 : parameter 3. 응답 : return 값 @RequestMapping - name : 뷰 템플릿에서 식별할 때 쓰는 이름, 실무에서는 별로 안씀. - value, path : URI - method : HTTP method (GET, POST, ...), http method로 filtering - params : 파라미터 검사, 파라미터로 filtering - headers : 헤더 검사, 헤더로 filtering - consumes : 헤더의 content-Type 검사, content-Type으로 filtering - produces : 헤더.. 카테고리 없음 2023. 5. 2. 이전 1 다음 반응형