Package de.unirostock.sems.cbarchive.web
Class CookieManager
- java.lang.Object
-
- de.unirostock.sems.cbarchive.web.CookieManager
-
public class CookieManager extends Object
The Class CookieManager.- Author:
- martin
-
-
Constructor Summary
Constructors Constructor Description CookieManager(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Instantiates a new cookie manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.servlet.http.Cookie
getCookie(String name)
Gets the cookie.void
setCookie(javax.servlet.http.Cookie cookie)
Sets the cookie.
-
-
-
Method Detail
-
getCookie
public javax.servlet.http.Cookie getCookie(String name)
Gets the cookie.- Parameters:
name
- the name- Returns:
- the cookie
-
setCookie
public void setCookie(javax.servlet.http.Cookie cookie)
Sets the cookie.- Parameters:
cookie
- the new cookie
-
-