程序包 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 ExtendsWebRequestInterceptorwith a callback method invoked during asynchronous request handling.NativeWebRequest Extension of theWebRequestinterface, 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 AbstractScopeimplementation that reads from a particular scope in the current thread-boundRequestAttributesobject.DestructionCallbackBindingListener Adapter that implements the Servlet HttpSessionBindingListener interface, wrapping a session destruction callback.FacesRequestAttributes RequestAttributesadapter for a JSFFacesContext.FacesWebRequest WebRequestadapter for a JSFFacesContext.Log4jNestedDiagnosticContextInterceptor 已过时。 as of Spring 4.2.1, in favor of Apache Log4j 2 (following Apache's EOL declaration for log4j 1.x)RequestContextHolder Holder class to expose the web request in the form of a thread-boundRequestAttributesobject.RequestContextListener Servlet listener that exposes the request to the current thread, through bothLocaleContextHolderandRequestContextHolder.RequestScope Request-backedScopeimplementation.ServletRequestAttributes Servlet-based implementation of theRequestAttributesinterface.ServletWebRequest WebRequestadapter for anHttpServletRequest.SessionScope Session-backedScopeimplementation.