Closed heowc closed 5 years ago
DispatcherServlet
↓
RequestMappingHandlerAdapter
↓
ServletInvocableHandlerMethod
↓
HandlerMethodArgumentResolverComposite
↓
xxxxHandlerMethodArgumentResolver
@RequestParam
으로 전달할 수 있는 데이터는 생략 가능@RestController
public class ExampleController {
@GetMapping("/")
public String get(String message) {
return message;
}
}
[GET] http://localhost:8080/?message=test
test
@RequestPart
라는 녀석이 있다.