接口的使用
org.springframework.web.servlet.HandlerAdapter
使用HandlerAdapter的程序包 程序包 说明 org.springframework.web.servlet Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.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 Standard controller implementations for the Servlet MVC framework that comes with Spring.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.servlet中HandlerAdapter的使用
返回HandlerAdapter的org.springframework.web.servlet中的方法 修饰符和类型 方法 说明 protected HandlerAdapter
DispatcherServlet. getHandlerAdapter(Object handler)
Return the HandlerAdapter for this handler object.org.springframework.web.servlet.function.support中HandlerAdapter的使用
实现HandlerAdapter的org.springframework.web.servlet.function.support中的类 修饰符和类型 类 说明 class
HandlerFunctionAdapter
HandlerAdapter
implementation that supportsHandlerFunction
s.org.springframework.web.servlet.handler中HandlerAdapter的使用
实现HandlerAdapter的org.springframework.web.servlet.handler中的类 修饰符和类型 类 说明 class
SimpleServletHandlerAdapter
Adapter to use the Servlet interface with the generic DispatcherServlet.org.springframework.web.servlet.mvc中HandlerAdapter的使用
实现HandlerAdapter的org.springframework.web.servlet.mvc中的类 修饰符和类型 类 说明 class
HttpRequestHandlerAdapter
Adapter to use the plainHttpRequestHandler
interface with the genericDispatcherServlet
.class
SimpleControllerHandlerAdapter
Adapter to use the plainController
workflow interface with the genericDispatcherServlet
.org.springframework.web.servlet.mvc.method中HandlerAdapter的使用
实现HandlerAdapter的org.springframework.web.servlet.mvc.method中的类 修饰符和类型 类 说明 class
AbstractHandlerMethodAdapter
Abstract base class forHandlerAdapter
implementations that support handlers of typeHandlerMethod
.org.springframework.web.servlet.mvc.method.annotation中HandlerAdapter的使用