com.atlassian.confluence.util
Class RequestCacheThreadLocal

java.lang.Object
  extended by com.atlassian.confluence.util.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 getRequestCache()
           
static void setRequestCache(java.util.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 java.lang.String CONTEXT_PATH_KEY
See Also:
Constant Field Values
Constructor Detail

RequestCacheThreadLocal

public RequestCacheThreadLocal()
Method Detail

getRequestCache

public static java.util.Map getRequestCache()

setRequestCache

public static void setRequestCache(java.util.Map requestCache)

clearRequestCache

public static void clearRequestCache()

getContextPath

public static java.lang.String getContextPath()


Copyright © 2003-2014 Atlassian. All Rights Reserved.