Class RequestCacheThreadLocal

java.lang.Object
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 Details

  • Constructor Details

    • RequestCacheThreadLocal

      public RequestCacheThreadLocal()
  • Method Details

    • getRequestCache

      public static Map getRequestCache()
    • setRequestCache

      public static void setRequestCache(Map requestCache)
    • clearRequestCache

      public static void clearRequestCache()
    • getRemoteAddress

      public static String getRemoteAddress()
    • getXForwardedFor

      public static String getXForwardedFor()
    • getContextPath

      public static String getContextPath()
    • getRequestCorrelationId

      public static String getRequestCorrelationId()
    • getMobileAppRequestHeader

      public static String getMobileAppRequestHeader()