Class HttpCookieUtility
- java.lang.Object
-
- io.tech1.framework.domain.utilities.http.HttpCookieUtility
-
public final class HttpCookieUtility extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.servlet.http.CookiecreateCookie(String cookieKey, String cookieValue, String domain, boolean httpOnly, int maxAge)static javax.servlet.http.CookiecreateNullCookie(String cookieKey, String domain)static StringreadCookie(javax.servlet.http.HttpServletRequest request, String cookieKey)
-
-
-
Method Detail
-
createCookie
public static javax.servlet.http.Cookie createCookie(String cookieKey, String cookieValue, String domain, boolean httpOnly, int maxAge)
-
createNullCookie
public static javax.servlet.http.Cookie createNullCookie(String cookieKey, String domain)
-
readCookie
public static String readCookie(javax.servlet.http.HttpServletRequest request, String cookieKey) throws CookieNotFoundException
- Throws:
CookieNotFoundException
-
-