@Override public String getPathTranslated() { final String p = getPathInfo(); return p != null ? getRealPath(p) : null; }
@Override void service(HttpServletRequest req, HttpServletResponse rsp) throws ServletException, IOException { String curInfo = req.getPathInfo(); String newPath = req.getServletPath() + curInfo; String newInfo = curInfo.substring(0, curInfo.length() - suffixLen); super.service(new WrappedRequest(req, newPath, newInfo), rsp); }
@Override void service(HttpServletRequest req, HttpServletResponse rsp) throws ServletException, IOException { String curInfo = req.getPathInfo(); String newPath = req.getServletPath() + curInfo; String newInfo = curInfo.substring(0, curInfo.length() - suffixLen); super.service(new WrappedRequest(req, newPath, newInfo), rsp); }
@Override public String getPathTranslated() { final String p = getPathInfo(); return p != null ? getRealPath(p) : null; }
groups[groupId - 1] = new WrappedRequest(req, path, info); super.service(new WrappedRequest(req, path, info), rsp);
groups[groupId - 1] = new WrappedRequest(req, path, info); super.service(new WrappedRequest(req, path, info), rsp);