Class RequestHelper


  • public class RequestHelper
    extends Object
    • Constructor Detail

      • RequestHelper

        public RequestHelper()
    • Method Detail

      • isCookie

        public static boolean isCookie​(javax.servlet.http.HttpServletRequest request,
                                       String key,
                                       String value)
      • getCookieValue

        public static String getCookieValue​(javax.servlet.http.HttpServletRequest request,
                                            String key)
      • setCookieValue

        public static void setCookieValue​(javax.servlet.http.HttpServletResponse response,
                                          String key,
                                          String value,
                                          int expiry,
                                          String path)
      • setCookieValue

        public static void setCookieValue​(javax.servlet.http.HttpServletResponse response,
                                          String key,
                                          String value,
                                          int expiry)
      • setCookieValue

        public static void setCookieValue​(javax.servlet.http.HttpServletResponse response,
                                          String key,
                                          String value)
      • setJSONType

        public static final void setJSONType​(javax.servlet.http.HttpServletResponse response)