# Package org.springframework.web.context.request

@NonNullApi @NonNullFields package org.springframework.web.context.request
Support for generic request context holding, in particular for scoping of application objects per HTTP request or HTTP session.

Related Packages
Package
Description
org.springframework.web.context
Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context.
org.springframework.web.context.request.async
Support for asynchronous request processing.
org.springframework.web.context.annotation
Provides convenience annotations for web scopes.
org.springframework.web.context.support
Classes supporting the `org.springframework.web.context` package, such as WebApplicationContext implementations and various utility classes.
Class
Description
AbstractRequestAttributes
Abstract support class for RequestAttributes implementations, offering a request completion mechanism for request-specific destruction callbacks and for updating accessed session attributes.
AbstractRequestAttributesScope
Abstract `Scope` implementation that reads from a particular scope in the current thread-bound `RequestAttributes` object.
AsyncWebRequestInterceptor
Extends `WebRequestInterceptor` with a callback method invoked during asynchronous request handling.
DestructionCallbackBindingListener
Adapter that implements the Servlet HttpSessionBindingListener interface, wrapping a session destruction callback.
FacesRequestAttributes
`RequestAttributes` adapter for a JSF `FacesContext`.
FacesWebRequest
`WebRequest` adapter for a JSF `FacesContext`.
NativeWebRequest
Extension of the `WebRequest` interface, exposing the native request and response objects in a generic fashion.
RequestAttributes
Abstraction for accessing attribute objects associated with a request.
RequestAttributesThreadLocalAccessor
Adapt `RequestContextHolder` to the `ThreadLocalAccessor` contract to assist the Micrometer Context Propagation library with `RequestAttributes` propagation.
RequestContextHolder
Holder class to expose the web request in the form of a thread-bound `RequestAttributes` object.
RequestContextListener
Servlet listener that exposes the request to the current thread, through both `LocaleContextHolder` and `RequestContextHolder`.
RequestScope
Request-backed `Scope` implementation.
ServletRequestAttributes
Servlet-based implementation of the `RequestAttributes` interface.
ServletWebRequest
`WebRequest` adapter for an `HttpServletRequest`.
SessionScope
Session-backed `Scope` implementation.
WebRequest
Generic interface for a web request.
WebRequestInterceptor
Interface for general web request interception.