Fly*_*ine 12 spring spring-mvc
我一直在阅读Spring MVC HandlerMapping,HandlerAdapter但我对这两个概念感到困惑.我可以理解HandlerMapping用于将传入的HTTP请求映射到控制器但what is the use of HandlerAdapter?why do we use it?what is the exact difference between these two with example?
请帮助我.谢谢!!
Ale*_*der 11
自从在Spring 3.1中引入RequestMappingHandlerMapping和RequestMappingHandlerAdapter以来,区别甚至更简单:RequestMappingHandlerMapping为给定的请求找到适当的处理程序方法.RequestMappingHandlerAdapter执行此方法,为其提供所有参数.
| 归档时间: |
|
| 查看次数: |
7279 次 |
| 最近记录: |