|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RequestAttributes | |
---|---|
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.portlet.context | Support for Spring's application context concept in a portlet environment, including ApplicationContext implementations and various utility classes. |
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 | |
---|---|
interface |
WebRequest
Generic interface for a web request. |
Classes in org.springframework.web.context.request that implement RequestAttributes | |
---|---|
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 |
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 | |
---|---|
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 | |
---|---|
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.portlet.context |
---|
Classes in org.springframework.web.portlet.context that implement RequestAttributes | |
---|---|
class |
PortletRequestAttributes
Portlet-based implementation of the RequestAttributes interface. |
class |
PortletWebRequest
WebRequest adapter for a PortletRequest. |
Uses of RequestAttributes in org.springframework.web.servlet.handler |
---|
Classes in org.springframework.web.servlet.handler that implement RequestAttributes | |
---|---|
class |
DispatcherServletWebRequest
ServletWebRequest that is aware of DispatcherServlet's request context, such as the Locale determined by a LocaleResolver. |
|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |