类的使用
org.springframework.web.servlet.handler.AbstractHandlerMapping
使用AbstractHandlerMapping的程序包 程序包 说明 org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.org.springframework.web.servlet.function.support Classes supporting theorg.springframework.web.servlet.function
package.org.springframework.web.servlet.handler Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.org.springframework.web.servlet.mvc.method Servlet-based infrastructure for handler method processing, building on theorg.springframework.web.method
package.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.server.support Server-side support classes including container-specific strategies for upgrading a request.org.springframework.web.servlet.config.annotation中AbstractHandlerMapping的使用
返回AbstractHandlerMapping的org.springframework.web.servlet.config.annotation中的方法 修饰符和类型 方法 说明 protected AbstractHandlerMapping
ResourceHandlerRegistry. getHandlerMapping()
Return a handler mapping with the mapped resource handlers; ornull
in case of no registrations.org.springframework.web.servlet.function.support中AbstractHandlerMapping的使用
org.springframework.web.servlet.function.support中AbstractHandlerMapping的子类 修饰符和类型 类 说明 class
RouterFunctionMapping
HandlerMapping
implementation that supportsRouterFunctions
.org.springframework.web.servlet.handler中AbstractHandlerMapping的使用
org.springframework.web.servlet.handler中AbstractHandlerMapping的子类 修饰符和类型 类 说明 class
AbstractDetectingUrlHandlerMapping
Abstract implementation of theHandlerMapping
interface, detecting URL mappings for handler beans through introspection of all defined beans in the application context.class
AbstractHandlerMethodMapping<T>
Abstract base class forHandlerMapping
implementations that define a mapping between a request and aHandlerMethod
.class
AbstractUrlHandlerMapping
Abstract base class for URL-mappedHandlerMapping
implementations.class
BeanNameUrlHandlerMapping
Implementation of theHandlerMapping
interface that maps from URLs to beans with names that start with a slash ("/"), similar to how Struts maps URLs to action names.class
SimpleUrlHandlerMapping
Implementation of theHandlerMapping
interface that maps from URLs to request handler beans.org.springframework.web.servlet.mvc.method中AbstractHandlerMapping的使用
org.springframework.web.servlet.mvc.method中AbstractHandlerMapping的子类 修饰符和类型 类 说明 class
RequestMappingInfoHandlerMapping
Abstract base class for classes for whichRequestMappingInfo
defines the mapping between a request and a handler method.org.springframework.web.servlet.mvc.method.annotation中AbstractHandlerMapping的使用
org.springframework.web.servlet.mvc.method.annotation中AbstractHandlerMapping的子类 修饰符和类型 类 说明 class
RequestMappingHandlerMapping
CreatesRequestMappingInfo
instances from type and method-level@RequestMapping
annotations in@Controller
classes.org.springframework.web.socket.config.annotation中AbstractHandlerMapping的使用
返回AbstractHandlerMapping的org.springframework.web.socket.config.annotation中的方法 修饰符和类型 方法 说明 AbstractHandlerMapping
ServletWebSocketHandlerRegistry. getHandlerMapping()
AbstractHandlerMapping
WebMvcStompEndpointRegistry. getHandlerMapping()
Return a handler mapping with the mapped ViewControllers.org.springframework.web.socket.server.support中AbstractHandlerMapping的使用
org.springframework.web.socket.server.support中AbstractHandlerMapping的子类 修饰符和类型 类 说明 class
WebSocketHandlerMapping
An extension ofSimpleUrlHandlerMapping
that is also aSmartLifecycle
container and propagates start and stop calls to any handlers that implementLifecycle
.