本文主要是介绍SpringMVC中HandlerMapping源码,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
HandlerMapping源码
package org.springframework.web.servlet; import javax.servlet.http.HttpServletRequest; import org.springframework.web.servlet.HandlerExecutionChain; public interface HandlerMapping {String PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE = HandlerMapping.class.getName() + ".pathWithinHandlerMapping"; String BEST_MATCHING_PATTERN_ATTRIBUTE = HandlerMapping.class.getName() + ".bestMatchingPattern"; String INTROSPECT_TYPE_LEVEL_MAPPING = HandlerMapping.class.getName() + ".introspectTypeLevelMapping"; String URI_TEMPLATE_VARIABLES_ATTRIBUTE = HandlerMapping.class.getName() + ".uriTemplateVariables"; String PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE = HandlerMapping.class.getName() + ".producibleMediaTypes"; HandlerExecutionChain getHandler(HttpServletRequest var1) throws Exception; }
这篇关于SpringMVC中HandlerMapping源码的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!