public class CookieKeys
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMPANY_ID |
static String |
COOKIE_SUPPORT |
static String |
GUEST_LANGUAGE_ID |
static String |
ID |
static String |
JSESSIONID |
static String |
LOGIN |
static int |
MAX_AGE |
static String |
PASSWORD |
static String |
REMEMBER_ME |
static String |
REMOTE_PREFERENCE_PREFIX |
static String |
SCREEN_NAME |
static String |
USER_UUID |
Constructor and Description |
---|
CookieKeys() |
Modifier and Type | Method and Description |
---|---|
static void |
addCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.Cookie cookie) |
static void |
addCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.Cookie cookie,
boolean secure) |
static void |
addSupportCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static void |
deleteCookies(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String domain,
String... cookieNames) |
static String |
getCookie(javax.servlet.http.HttpServletRequest request,
String name) |
static String |
getCookie(javax.servlet.http.HttpServletRequest request,
String name,
boolean toUpperCase) |
static String |
getDomain(javax.servlet.http.HttpServletRequest request) |
static String |
getDomain(String host) |
static boolean |
hasSessionId(javax.servlet.http.HttpServletRequest request) |
static boolean |
isEncodedCookie(String name) |
static void |
validateSupportCookie(javax.servlet.http.HttpServletRequest request) |
public static final String COMPANY_ID
public static final String COOKIE_SUPPORT
public static final String GUEST_LANGUAGE_ID
public static final String ID
public static final String JSESSIONID
public static final String LOGIN
public static final int MAX_AGE
public static final String PASSWORD
public static final String REMEMBER_ME
public static final String REMOTE_PREFERENCE_PREFIX
public static final String SCREEN_NAME
public static final String USER_UUID
public static void addCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.http.Cookie cookie)
public static void addCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.http.Cookie cookie, boolean secure)
public static void addSupportCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static void deleteCookies(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String domain, String... cookieNames)
public static String getCookie(javax.servlet.http.HttpServletRequest request, String name)
public static String getCookie(javax.servlet.http.HttpServletRequest request, String name, boolean toUpperCase)
public static String getDomain(javax.servlet.http.HttpServletRequest request)
public static String getDomain(String host)
public static boolean hasSessionId(javax.servlet.http.HttpServletRequest request)
public static boolean isEncodedCookie(String name)
public static void validateSupportCookie(javax.servlet.http.HttpServletRequest request) throws CookieNotSupportedException
CookieNotSupportedException