spring源码学习系列3.4-spring mvc原理-codes

阅读更多
本篇章从核心类角度解读springmvc的原理

web.xml(一级):

DispatcherServlet
extends FrameworkServlet
extends HttpServletBean
extends HttpServlet
    
        SpringMVC    
        org.springframework.web.servlet.DispatcherServlet    
            
            contextConfigLocation    
            classpath*:spring-mvc.xml    
            
        
        
        
        SpringMVC    
        /    
    


Map matchingBeans =
					BeanFactoryUtils.beansOfTypeIncludingAncestors(context, HandlerMapping.class, true, false);




spring-mvc.xml(二级):

DispatcherServlet.properties

HandlerMapping

HandlerExecutionChain


HandlerAdapter

ViewResolver


HandlerExceptionResolver




注解(二级):

RequestMappingHandlerMapping

RequestMappingHandlerAdapter

HandlerMethodArgumentResolver  RequestResponseBodyMethodProcessor   HttpMessageConverter

HandlerMethodReturnValueHandler  RequestResponseBodyMethodProcessor  HttpMessageConverter

https://www.cnblogs.com/fangjian0423/p/springMVC-xml-json-convert.html
https://my.oschina.net/u/2377110/blog/1552979




参考:
http://www.cnblogs.com/doudouxiaoye/p/5793657.html

你可能感兴趣的:(spring)