Class CookieManager


  • public class CookieManager
    extends Object
    The Class CookieManager.
    Author:
    martin
    • Constructor Detail

      • CookieManager

        public CookieManager​(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
        Instantiates a new cookie manager.
        Parameters:
        request - the request
        response - the response
    • 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