com.atlassian.crowd.plugin.web
Class RequestCacheThreadLocal

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

public class RequestCacheThreadLocal
extends Object

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


Field Summary
static String CONTEXT_PATH_KEY
           
 
Constructor Summary
RequestCacheThreadLocal()
           
 
Method Summary
static void clearRequestCache()
           
static String getContextPath()
           
static Map<String,Object> getRequestCache()
           
static void setRequestCache(Map<String,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 String CONTEXT_PATH_KEY
See Also:
Constant Field Values
Constructor Detail

RequestCacheThreadLocal

public RequestCacheThreadLocal()
Method Detail

getRequestCache

public static Map<String,Object> getRequestCache()

setRequestCache

public static void setRequestCache(Map<String,Object> requestCache)

clearRequestCache

public static void clearRequestCache()

getContextPath

public static String getContextPath()


Copyright © 2012 Atlassian. All Rights Reserved.