public static string GetPathAndQuery(this HttpServletRequest req) { var Path = req.getPathInfo(); var Query = req.getQueryString(); var PathAndQuery = req.getServletPath(); if (Path != null) { PathAndQuery += Path; } if (Query != null) { PathAndQuery += "?" + Query; } return(PathAndQuery); }
public override string getPathInfo() { return(_request.getPathInfo()); }