类的使用
org.springframework.web.context.request.ServletRequestAttributes
使用ServletRequestAttributes的程序包 程序包 说明 org.springframework.web.context.request Support for generic request context holding, in particular for scoping of application objects per HTTP request or HTTP session.org.springframework.web.context.request.async Support for asynchronous request processing.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.handler Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.org.springframework.web.context.request中ServletRequestAttributes的使用
org.springframework.web.context.request中ServletRequestAttributes的子类 修饰符和类型 类 说明 class
ServletWebRequest
WebRequest
adapter for anHttpServletRequest
.org.springframework.web.context.request.async中ServletRequestAttributes的使用
org.springframework.web.context.request.async中ServletRequestAttributes的子类 修饰符和类型 类 说明 class
StandardServletAsyncWebRequest
A Servlet 3.0 implementation ofAsyncWebRequest
.org.springframework.web.servlet中ServletRequestAttributes的使用
返回ServletRequestAttributes的org.springframework.web.servlet中的方法 修饰符和类型 方法 说明 protected ServletRequestAttributes
FrameworkServlet. buildRequestAttributes(HttpServletRequest request, HttpServletResponse response, RequestAttributes previousAttributes)
Build ServletRequestAttributes for the given request (potentially also holding a reference to the response), taking pre-bound attributes (and their type) into consideration.org.springframework.web.servlet.handler中ServletRequestAttributes的使用
org.springframework.web.servlet.handler中ServletRequestAttributes的子类 修饰符和类型 类 说明 class
DispatcherServletWebRequest
ServletWebRequest
subclass that is aware ofDispatcherServlet
's request context, such as the Locale determined by the configuredLocaleResolver
.