## Uses of Interface
org.springframework.web.context.request.RequestAttributes

- Packages that use RequestAttributes
  Package | Description
  --- | ---
  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.

- - ### Uses of RequestAttributes in org.springframework.web.context.request

    Subinterfaces of RequestAttributes in org.springframework.web.context.request
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `NativeWebRequest` Extension of the `WebRequest` interface, exposing the native request and response objects in a generic fashion.
    `interface` | `WebRequest` Generic interface for a web request.

    Classes in org.springframework.web.context.request that implement RequestAttributes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractRequestAttributes` Abstract support class for RequestAttributes implementations, offering a request completion mechanism for request-specific destruction callbacks and for updating accessed session attributes.
    `class` | `FacesRequestAttributes` `RequestAttributes` adapter for a JSF `FacesContext`.
    `class` | `FacesWebRequest` `WebRequest` adapter for a JSF `FacesContext`.
    `class` | `ServletRequestAttributes` Servlet-based implementation of the `RequestAttributes` interface.
    `class` | `ServletWebRequest` `WebRequest` adapter for an `HttpServletRequest`.

    Methods in org.springframework.web.context.request that return RequestAttributes
    Modifier and Type | Method and Description
    --- | ---
    `static RequestAttributes` | RequestContextHolder.`currentRequestAttributes()` Return the RequestAttributes currently bound to the thread.
    `static RequestAttributes` | RequestContextHolder.`getRequestAttributes()` Return the RequestAttributes currently bound to the thread.

    Methods in org.springframework.web.context.request with parameters of type RequestAttributes
    Modifier and Type | Method and Description
    --- | ---
    `static void` | RequestContextHolder.`setRequestAttributes(RequestAttributes attributes)` Bind the given RequestAttributes to the current thread, not exposing it as inheritable for child threads.
    `static void` | RequestContextHolder.`setRequestAttributes(RequestAttributes attributes, boolean inheritable)` Bind the given RequestAttributes to the current thread.

  - ### Uses of RequestAttributes in org.springframework.web.context.request.async

    Subinterfaces of RequestAttributes in org.springframework.web.context.request.async
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `AsyncWebRequest` Extends `NativeWebRequest` with methods for asynchronous request processing.

    Classes in org.springframework.web.context.request.async that implement RequestAttributes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StandardServletAsyncWebRequest` A Servlet implementation of `AsyncWebRequest`.

  - ### Uses of RequestAttributes in org.springframework.web.servlet

    Methods in org.springframework.web.servlet with parameters of type RequestAttributes
    Modifier and Type | Method and Description
    --- | ---
    `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.

  - ### Uses of RequestAttributes in org.springframework.web.servlet.handler

    Classes in org.springframework.web.servlet.handler that implement RequestAttributes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DispatcherServletWebRequest` `ServletWebRequest` subclass that is aware of `DispatcherServlet`'s request context, such as the Locale determined by the configured `LocaleResolver`.