com.atlassian.crowd.plugin.web
Class RequestCacheThreadLocal

java.lang.Object
  extended by com.atlassian.crowd.plugin.web.RequestCacheThreadLocal

public class RequestCacheThreadLocal
extends java.lang.Object

Threadlocal for caching objects that must survive the whole HTTP request. The threadlocal is initialised in the RequestCacheThreadLocalFilter


Field Summary
static java.lang.String CONTEXT_PATH_KEY
           
 
Constructor Summary
RequestCacheThreadLocal()
           
 
Method Summary
static void clearRequestCache()
           
static java.lang.String getContextPath()
           
static java.util.Map<java.lang.String,java.lang.Object> getRequestCache()
           
static void setRequestCache(java.util.Map<java.lang.String,java.lang.Object> requestCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_PATH_KEY

public static final java.lang.String CONTEXT_PATH_KEY
See Also:
Constant Field Values
Constructor Detail

RequestCacheThreadLocal

public RequestCacheThreadLocal()
Method Detail

getRequestCache

public static java.util.Map<java.lang.String,java.lang.Object> getRequestCache()

setRequestCache

public static void setRequestCache(java.util.Map<java.lang.String,java.lang.Object> requestCache)

clearRequestCache

public static void clearRequestCache()

getContextPath

public static java.lang.String getContextPath()


Copyright © 2010 Atlassian. All Rights Reserved.