【SpringMVC】DispatcherServlet重要组件之一HandlerMapping

概括: 作用是根据request找到相应处理器Handler和Interceptors,HandlerMapping接口里只有一个方法: HandlerExecutionChain getHandler(HttpServletRequest request) throws Exception; 我们也可以自己定义一个HandlerMapping,实现方法。 protected HandlerExe
相关文章
相关标签/搜索