Uses of Interface
org.springframework.web.context.request.RequestAttributes
Package
Description
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
Support for asynchronous request processing.
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
-
Uses of RequestAttributes in org.springframework.web.context.request
Modifier and TypeInterfaceDescriptioninterface
Extension of theWebRequest
interface, exposing the native request and response objects in a generic fashion.interface
Generic interface for a web request.Modifier and TypeClassDescriptionclass
Abstract support class for RequestAttributes implementations, offering a request completion mechanism for request-specific destruction callbacks and for updating accessed session attributes.class
RequestAttributes
adapter for a JSFFacesContext
.class
WebRequest
adapter for a JSFFacesContext
.class
Servlet-based implementation of theRequestAttributes
interface.class
WebRequest
adapter for anHttpServletRequest
.Modifier and TypeMethodDescriptionstatic RequestAttributes
RequestContextHolder.currentRequestAttributes()
Return the RequestAttributes currently bound to the thread.static RequestAttributes
RequestContextHolder.getRequestAttributes()
Return the RequestAttributes currently bound to the thread.RequestAttributesThreadLocalAccessor.getValue()
Modifier and TypeMethodDescriptionstatic 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.void
RequestAttributesThreadLocalAccessor.setValue
(RequestAttributes value) -
Uses of RequestAttributes in org.springframework.web.context.request.async
Modifier and TypeInterfaceDescriptioninterface
ExtendsNativeWebRequest
with methods for asynchronous request processing. -
Uses of RequestAttributes in org.springframework.web.servlet
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeClassDescriptionclass
ServletWebRequest
subclass that is aware ofDispatcherServlet
's request context, such as the Locale determined by the configuredLocaleResolver
.