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 |
---|---|
static boolean |
fixCookies()
It seems that AJS conglomerate cookie can sometimes start with a quote character without being appropriately terminated
with another quote character.
|
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
public static boolean fixCookies()
public String getValueFromConglomerateCookie(String cookieKey, String key)
getValueFromConglomerateCookie
in interface CookieCutter
cookieKey
- key of the cookiekey
- key of a variableCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.