接口的使用
cn.taketoday.web.HandlerMapping
使用HandlerMapping的程序包
程序包
说明
Web Handler
Classes supporting the
cn.taketoday.web.servlet.function package.Method handler
-
cn.taketoday.web中HandlerMapping的使用
修饰符和类型方法说明static HandlerMappingHandlerMapping.find(cn.taketoday.context.ApplicationContext context) static HandlerMappingHandlerMapping.find(cn.taketoday.context.ApplicationContext context, boolean detectAllHandlerMapping) -
cn.taketoday.web.config中HandlerMapping的使用
修饰符和类型方法说明WebMvcConfigurationSupport.defaultServletHandlerMapping()Return a handler mapping ordered at Integer.MAX_VALUE with a mapped default servlet handler.WebMvcConfigurationSupport.resourceHandlerMapping(NotFoundHandler notFoundHandler, ContentNegotiationManager contentNegotiationManager) Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.WebMvcConfigurationSupport.viewControllerHandlerMapping()Return a handler mapping ordered at 1 to map URL paths directly to view names.类型变量类型为HandlerMapping的cn.taketoday.web.config中的方法参数修饰符和类型方法说明voidCompositeWebMvcConfigurer.configureHandlerRegistry(List<HandlerMapping> handlerRegistries) default voidWebMvcConfigurer.configureHandlerRegistry(List<HandlerMapping> handlerRegistries) ConfigureHandlerMapping -
cn.taketoday.web.handler中HandlerMapping的使用
修饰符和类型类说明classAbstract implementation of theHandlerMappinginterface, detecting URL mappings for handler beans through introspection of all defined beans in the application context.classAbstract base class forHandlerMappingimplementations.classAbstract base class for URL-mappedHandlerMappingimplementations.classImplementation of theHandlerMappinginterface that maps from URLs to beans with names that start with a slash ("/"), similar to how Struts maps URLs to action names.classComposite HandlerMappingclassImplementation of theHandlerMappinginterface that maps from URLs to request handler beans.修饰符和类型字段说明private HandlerMappingDispatcherHandler.handlerMappingAction mapping registryprivate final HandlerMapping[]HandlerRegistries.handlerRegistries参数类型为HandlerMapping的cn.taketoday.web.handler中的方法参数类型为HandlerMapping的cn.taketoday.web.handler中的构造器类型变量类型为HandlerMapping的cn.taketoday.web.handler中的构造器参数 -
cn.taketoday.web.handler.function.support中HandlerMapping的使用
-
cn.taketoday.web.handler.method中HandlerMapping的使用
修饰符和类型类说明classAbstract base class forHandlerMappingimplementations that define a mapping between a request and aHandlerMethod.classCreatesRequestMappingInfoinstances from type and method-level@RequestMappingannotations in@Controllerclasses.classAbstract base class for classes for whichRequestMappingInfodefines the mapping between a request and a handler method.