code: public static String getFullRequestUrl(HttpServletRequest request) {
          StringBuilder buff = new StringBuilder(
                  request.getRequestURL().toString());
          String queryString = request.getQueryString();
          if (queryString != null) {
              buff.append("?").append(queryString);
          }
  
          return buff.toString();
      }
docs: get request full url, include params
  @param request current request
  @return request full url, include params