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 httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
javax.servlet.http.Cookie cookie) |
static void |
addCookie(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
javax.servlet.http.Cookie cookie,
boolean secure) |
static void |
addSupportCookie(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
static void |
deleteCookies(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
String domain,
String... cookieNames) |
static String |
getCookie(javax.servlet.http.HttpServletRequest httpServletRequest,
String name) |
static String |
getCookie(javax.servlet.http.HttpServletRequest httpServletRequest,
String name,
boolean toUpperCase) |
static String |
getDomain(javax.servlet.http.HttpServletRequest httpServletRequest) |
static String |
getDomain(String host) |
static boolean |
hasSessionId(javax.servlet.http.HttpServletRequest httpServletRequest) |
static boolean |
isEncodedCookie(String name) |
static void |
validateSupportCookie(javax.servlet.http.HttpServletRequest httpServletRequest) |
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 httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.http.Cookie cookie)
public static void addCookie(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.http.Cookie cookie, boolean secure)
public static void addSupportCookie(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
public static void deleteCookies(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, String domain, String... cookieNames)
public static String getCookie(javax.servlet.http.HttpServletRequest httpServletRequest, String name)
public static String getCookie(javax.servlet.http.HttpServletRequest httpServletRequest, String name, boolean toUpperCase)
public static String getDomain(javax.servlet.http.HttpServletRequest httpServletRequest)
public static String getDomain(String host)
public static boolean hasSessionId(javax.servlet.http.HttpServletRequest httpServletRequest)
public static boolean isEncodedCookie(String name)
public static void validateSupportCookie(javax.servlet.http.HttpServletRequest httpServletRequest) throws CookieNotSupportedException
CookieNotSupportedException