Every time I read the answers of Spring MVC working principle, they will say:Firstly,Dispatcher Servlet receives requests from front-end, then dispatcher will invoke HanderMapping,HanderMapping will find specific HanderAdapter...I use Spring Boot Framework, I don't know what the HanderMapping and HandlerAdapter point.Could you tell me what are the HanderMapping and HandlerAdapter?
Любая помощь будет оценена.
Вот некоторые из моих кодов.
@RestController
@RequestMapping(consumes ={"text/plain", "application/*"},produces =
MediaType.APPLICATION_JSON_UTF8_VALUE)
public class ClientController {
@PostMapping("Test")
public ResultInfo test(@RequestBody Client client){
return ResultInfo.success("test");
}
}