setRequestAttributes(RequestAttributes attributes) Bind the given RequestAttributes to the current thread,
not exposing it as inheritable for child threads.
Return the RequestAttributes currently bound to the thread.
the RequestAttributes currently bound to the thread throws: IllegalStateException - if no RequestAttributes objectis bound to the current thread
public static void setRequestAttributes(RequestAttributes attributes, boolean inheritable)(Code)
Bind the given RequestAttributes to the current thread.
Parameters: attributes - the RequestAttributes to expose Parameters: inheritable - whether to expose the RequestAttributes as inheritablefor child threads (using an java.lang.InheritableThreadLocal)