class HttpServletRequestWrapper extends HttpServerRequest {

  @Override public String url() {
    StringBuffer url = delegate.getRequestURL();
    if (delegate.getQueryString() != null && !delegate.getQueryString().isEmpty()) {
      url.append('?').append(delegate.getQueryString());
    }
    return url.toString();
  }

    HttpServletRequestWrapper(HttpServletRequest delegate);

}