tds/src/main/java/thredds/servlet/ServletUtil.java
public static String getRequest(HttpServletRequest req) {
    String query = req.getQueryString();
    return getRequestBase(req) + (query == null ? "" : "?" + query);
  }
public static String getRequest(HttpServletRequest req) {
    String query = req.getQueryString();
    return getRequestBase(req) + (query == null ? "" : "?" + query);
  }
The entire request including query string

@param req the HttpServletRequest
@return entire parsed request