程序包 org.springframework.web.context.request
Support for generic request context holding, in particular for scoping of application objects per HTTP request or HTTP session.
接口概要 接口 说明 AsyncWebRequestInterceptor ExtendsWebRequestInterceptor
with a callback method invoked during asynchronous request handling.NativeWebRequest Extension of theWebRequest
interface, exposing the native request and response objects in a generic fashion.RequestAttributes Abstraction for accessing attribute objects associated with a request.WebRequest Generic interface for a web request.WebRequestInterceptor Interface for general web request interception.类概要 类 说明 AbstractRequestAttributes Abstract support class for RequestAttributes implementations, offering a request completion mechanism for request-specific destruction callbacks and for updating accessed session attributes.AbstractRequestAttributesScope AbstractScope
implementation that reads from a particular scope in the current thread-boundRequestAttributes
object.DestructionCallbackBindingListener Adapter that implements the Servlet HttpSessionBindingListener interface, wrapping a session destruction callback.FacesRequestAttributes RequestAttributes
adapter for a JSFFacesContext
.FacesWebRequest WebRequest
adapter for a JSFFacesContext
.RequestContextHolder Holder class to expose the web request in the form of a thread-boundRequestAttributes
object.RequestContextListener Servlet listener that exposes the request to the current thread, through bothLocaleContextHolder
andRequestContextHolder
.RequestScope Request-backedScope
implementation.ServletRequestAttributes Servlet-based implementation of theRequestAttributes
interface.ServletWebRequest WebRequest
adapter for anHttpServletRequest
.SessionScope Session-backedScope
implementation.