/** * Returns any extra path information associated with the URL the client sent when it made this request. * The extra path information that comes after the context path and after the (resolved) mountpath but before the query string in the request URL * This method extracts and decodes the path information from the request URI returned from * <CODE>HttpServletRequest#getRequestURI()</CODE>. * @param resSiteMount * @param request * @return the decoded getRequestURI after the context path and after the (resolved) sitemount but before the query string in the request URL */ public static String getPathInfo(ResolvedSiteMount resSiteMount, HttpServletRequest request) { return getDecodedPath(resSiteMount, request, null, true); }
/** * @param request * @param characterEncoding * @return the decoded getRequestURI after the context path but before the query string in the request URL */ public static String getRequestPath(HttpServletRequest request, String characterEncoding) { return getDecodedPath(null, request, characterEncoding, false); }
/** * @param request * @return the decoded getRequestURI after the context path but before the query string in the request URL */ public static String getRequestPath(HttpServletRequest request) { return getDecodedPath(null, request, null, false); }
/** * <p> * Returns any extra path information associated with the URL the client sent when it made this request. * The extra path information that comes after the context path and after the (resolved) mountpath but before the query string in the request URL * This method extracts and decodes the path information by the specified character encoding parameter * from the request URI. * </p> * @param resSiteMount * @param request * @param characterEncoding * @return the decoded getRequestURI after the context path and after the (resolved) sitemount but before the query string in the request URL */ public static String getPathInfo(ResolvedSiteMount resSiteMount, HttpServletRequest request, String characterEncoding) { return getDecodedPath(resSiteMount, request, characterEncoding, true); }