Package com.atlassian.confluence.web
Class Cookies
java.lang.Object
com.atlassian.confluence.web.Cookies
- Since:
- 8.8
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCookieValue(String key) static StringgetCookieValue(javax.servlet.http.HttpServletRequest request, String key) static javax.servlet.http.CookieSets a cookie.
-
Constructor Details
-
Cookies
public Cookies()
-
-
Method Details
-
setCookie
Sets a cookie. set to use a default cookie age of one year and the context path as the default path- Parameters:
key- the key of the cookievalue- the value of the cookie- Returns:
- the new Cookie object
-
getCookieValue
-
getCookieValue
-