com.atlassian.confluence.util
Class RequestCacheThreadLocal

java.lang.Object
  extended by com.atlassian.confluence.util.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 getRequestCache()
           
static void setRequestCache(Map 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 getRequestCache()

setRequestCache

public static void setRequestCache(Map requestCache)

clearRequestCache

public static void clearRequestCache()

getContextPath

public static String getContextPath()


Copyright © 2003-2012 Atlassian. All Rights Reserved.