public class RequestCacheThreadLocal extends Object
RequestCacheThreadLocalFilter| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_PATH_KEY |
static String |
REMOTE_ADDRESS_KEY |
static String |
REQUEST_ID_KEY |
static String |
X_FORWARDED_FOR_KEY |
| Constructor and Description |
|---|
RequestCacheThreadLocal() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearRequestCache() |
static String |
getContextPath() |
static Optional<String> |
getKey()
Returns identifier for the current operation if set.
|
static String |
getRemoteAddress() |
static Map |
getRequestCache() |
static String |
getRequestCorrelationId() |
static String |
getXForwardedFor() |
static void |
setKey(String key)
Set an identifier for the current operation.
|
static void |
setRequestCache(Map requestCache) |
public static final String REMOTE_ADDRESS_KEY
public static final String X_FORWARDED_FOR_KEY
public static final String CONTEXT_PATH_KEY
public static final String REQUEST_ID_KEY
public static Map getRequestCache()
public static void clearRequestCache()
public static String getRequestCorrelationId()
public static void setKey(String key)
Copyright © 2003–2016 Atlassian. All rights reserved.