Package org.openrefine.util
Class CookiesUtilities
- java.lang.Object
-
- org.openrefine.util.CookiesUtilities
-
public class CookiesUtilities extends Object
-
-
Constructor Summary
Constructors Constructor Description CookiesUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
deleteCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String name)
static javax.servlet.http.Cookie
getCookie(javax.servlet.http.HttpServletRequest request, String name)
static String
getDomain(javax.servlet.http.HttpServletRequest request)
static void
setCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String name, String value, int max_age)
-
-
-
Field Detail
-
DOMAIN
public static final String DOMAIN
- See Also:
- Constant Field Values
-
PATH
public static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCookie
public static javax.servlet.http.Cookie getCookie(javax.servlet.http.HttpServletRequest request, String name)
-
setCookie
public static void setCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String name, String value, int max_age)
-
deleteCookie
public static void deleteCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String name)
-
getDomain
public static String getDomain(javax.servlet.http.HttpServletRequest request)
-
-