Class CookieHelper

java.lang.Object
pl.edu.icm.unity.engine.api.utils.CookieHelper

public class CookieHelper extends Object
Cookie finder
Author:
K. Benedyczak
  • Constructor Details

    • CookieHelper

      public CookieHelper()
  • Method Details

    • getCookie

      public static String getCookie(javax.servlet.http.HttpServletRequest request, String name)
      Parameters:
      request -
      name -
      Returns:
      cookie name by value
    • getCookie

      public static String getCookie(javax.servlet.http.Cookie[] cookies, String name)
      Parameters:
      request -
      name -
      Returns:
      cookie name by value
    • setupHttpCookie

      public static javax.servlet.http.Cookie setupHttpCookie(String cookieName, String cookieValue, int maxAge)