Class CookiesUtilities


  • public class CookiesUtilities
    extends Object
    • Constructor Detail

      • CookiesUtilities

        public CookiesUtilities()
    • 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)