com.atlassian.bamboo.util
Class RequestCacheThreadLocal

java.lang.Object
  extended by com.atlassian.bamboo.util.RequestCacheThreadLocal

public class RequestCacheThreadLocal
extends java.lang.Object


Field Summary
static java.lang.String CONTEXT_PATH_KEY
           
 
Method Summary
static void clearRequestCache()
          This method should only be called from the RequestCacheThreadLocalFilter
static java.lang.String getContextPath()
           
static javax.servlet.http.HttpServletRequest getRequest()
           
static java.util.Map<java.lang.String,java.lang.Object> getRequestCache()
           
static javax.servlet.http.HttpServletResponse getResponse()
           
static void setRequestCache(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
           
 
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
Method Detail

getRequestCache

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

setRequestCache

public static void setRequestCache(javax.servlet.http.HttpServletRequest httpServletRequest,
                                   javax.servlet.http.HttpServletResponse httpServletResponse)

clearRequestCache

public static void clearRequestCache()
This method should only be called from the RequestCacheThreadLocalFilter


getContextPath

@Nullable
public static java.lang.String getContextPath()

getRequest

@Nullable
public static javax.servlet.http.HttpServletRequest getRequest()

getResponse

@Nullable
public static javax.servlet.http.HttpServletResponse getResponse()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.