Java org.springframework.web.context.request RequestContextHolder fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.context.request RequestContextHolder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.context.request RequestContextHolder.

The text is from its open source code.

Method

RequestAttributescurrentRequestAttributes()
Return the RequestAttributes currently bound to the thread.
RequestAttributesgetRequestAttributes()
Return the RequestAttributes currently bound to the thread.
voidresetRequestAttributes()
Reset the RequestAttributes for the current thread.
voidsetRequestAttributes(@Nullable RequestAttributes attributes)
Bind the given RequestAttributes to the current thread, not exposing it as inheritable for child threads.
voidsetRequestAttributes(@Nullable RequestAttributes attributes, boolean inheritable)
Bind the given RequestAttributes to the current thread.