public class CookieCutterImpl extends Object implements CookieCutter
Modifier and Type | Field and Description |
---|---|
static String |
AJS_CONGLOMERATE_COOKIE |
static int |
FILTER_COOKIE_AGE |
Constructor and Description |
---|
CookieCutterImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getValueFromConglomerateCookie(String cookieKey,
String key)
Retrieve variable from AJS conglomerate cookie.
|
String |
getValueFromCookie(String key) |
String |
getValueFromCookie(String key,
String defaultValue) |
void |
saveValueInCookie(String key,
String value) |
public static int FILTER_COOKIE_AGE
public static final String AJS_CONGLOMERATE_COOKIE
public void saveValueInCookie(String key, String value)
saveValueInCookie
in interface CookieCutter
@NotNull public String getValueFromCookie(String key)
getValueFromCookie
in interface CookieCutter
public String getValueFromCookie(String key, String defaultValue)
getValueFromCookie
in interface CookieCutter
@Nullable public String getValueFromConglomerateCookie(String cookieKey, String key)
getValueFromConglomerateCookie
in interface CookieCutter
cookieKey
- key of the cookiekey
- key of a variableCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.