@Override public String getRequestUri() { return request.getApplicationUri(); }
@Override public String toString() { return "Request{" + "requestMethod='" + getMethod() + '\'' + ", uriPattern='" + getApplicationUri() + '\'' + '}'; }
/** * Returns the uri with the query string relative to the application root path. * * @return the application-relative uri with the query */ public String getApplicationUriWithQuery() { StringBuilder sb = new StringBuilder(); sb.append(getApplicationUri()); if (getQuery() != null) { sb.append('?').append(getQuery()); } return sb.toString(); }