Example usage for Java org.springframework.web.context.request RequestContextHolder fields, constructors, methods, implement or subclass
The text is from its open source code.
RequestAttributes | currentRequestAttributes() Return the RequestAttributes currently bound to the thread. |
RequestAttributes | getRequestAttributes() Return the RequestAttributes currently bound to the thread. |
void | resetRequestAttributes() Reset the RequestAttributes for the current thread. |
void | setRequestAttributes(@Nullable RequestAttributes attributes) Bind the given RequestAttributes to the current thread, not exposing it as inheritable for child threads. |
void | setRequestAttributes(@Nullable RequestAttributes attributes, boolean inheritable) Bind the given RequestAttributes to the current thread. |