接口的使用
org.springframework.web.reactive.HandlerMapping
使用HandlerMapping的程序包 程序包 说明 org.springframework.web.reactive Top-level package for thespring-webflux
module that containsDispatcherHandler
, the main entry point for WebFlux server endpoint processing including key contracts used to map requests to handlers, invoke them, and process the result.org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.server
package.org.springframework.web.reactive.handler Provides HandlerMapping implementations including abstract base classes.org.springframework.web.reactive.result.method Infrastructure for handler method processing.org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.reactive中HandlerMapping的使用
返回变量类型为HandlerMapping的类型的org.springframework.web.reactive中的方法 修饰符和类型 方法 说明 List<HandlerMapping>
DispatcherHandler. getHandlerMappings()
org.springframework.web.reactive.config中HandlerMapping的使用
返回HandlerMapping的org.springframework.web.reactive.config中的方法 修饰符和类型 方法 说明 HandlerMapping
WebFluxConfigurationSupport. resourceHandlerMapping(ResourceUrlProvider resourceUrlProvider)
Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.org.springframework.web.reactive.function.server.support中HandlerMapping的使用
实现HandlerMapping的org.springframework.web.reactive.function.server.support中的类 修饰符和类型 类 说明 class
RouterFunctionMapping
HandlerMapping
implementation that supportsRouterFunctions
.org.springframework.web.reactive.handler中HandlerMapping的使用
实现HandlerMapping的org.springframework.web.reactive.handler中的类 修饰符和类型 类 说明 class
AbstractHandlerMapping
Abstract base class forHandlerMapping
implementations.class
AbstractUrlHandlerMapping
Abstract base class for URL-mappedHandlerMapping
implementations.class
SimpleUrlHandlerMapping
Implementation of theHandlerMapping
interface to map from URLs to request handler beans.org.springframework.web.reactive.result.method中HandlerMapping的使用
实现HandlerMapping的org.springframework.web.reactive.result.method中的类 修饰符和类型 类 说明 class
AbstractHandlerMethodMapping<T>
Abstract base class forHandlerMapping
implementations that define a mapping between a request and aHandlerMethod
.class
RequestMappingInfoHandlerMapping
Abstract base class for classes for whichRequestMappingInfo
defines the mapping between a request and a handler method.org.springframework.web.reactive.result.method.annotation中HandlerMapping的使用
实现HandlerMapping的org.springframework.web.reactive.result.method.annotation中的类 修饰符和类型 类 说明 class
RequestMappingHandlerMapping
An extension ofRequestMappingInfoHandlerMapping
that createsRequestMappingInfo
instances from class-level and method-level@RequestMapping
annotations.