msg.append("uri=").append(request.getRequestURI()); if (isIncludeQueryString()) { String queryString = request.getQueryString(); if (queryString != null) {
msg.append("uri=").append(request.getRequestURI()); if (isIncludeQueryString()) { String queryString = request.getQueryString(); if (queryString != null) {
/** * Create a log message for the given request, prefix and suffix. * <p>If <code>includeQueryString</code> is <code>true</code> then * the inner part of the log message will take the form * <code>request_uri?query_string</code> otherwise the message will * simply be of the form <code>request_uri</code>. * <p>The final message is composed of the inner part as described * and the supplied prefix and suffix. */ protected String createMessage(HttpServletRequest request, String prefix, String suffix) { StringBuffer buffer = new StringBuffer(); buffer.append(prefix); buffer.append(request.getRequestURI()); if (isIncludeQueryString()) { buffer.append('?'); buffer.append(request.getQueryString()); } buffer.append(suffix); return buffer.toString(); }
msg.append("uri=").append(request.getRequestURI()); if (isIncludeQueryString()) { String queryString = request.getQueryString(); if (queryString != null) {
msg.append("uri=").append(request.getRequestURI()); if (isIncludeQueryString()) { String queryString = request.getQueryString(); if (queryString != null) {