Class RequestUtil


  • public class RequestUtil
    extends Object
    Utilities for manipulating HTTP request objects.
    • Method Detail

      • setErrorTraceAttribute

        public static void setErrorTraceAttribute​(javax.servlet.http.HttpServletRequest req,
                                                  Throwable t)
      • getErrorTraceAttribute

        public static Throwable getErrorTraceAttribute​(javax.servlet.http.HttpServletRequest req)
      • getEncodedPathInfo

        public static String getEncodedPathInfo​(javax.servlet.http.HttpServletRequest req)
        Returns:
        the same value as HttpServletRequest.getPathInfo(), but without decoding URL-encoded characters.