private void outputRequest(String method, URI requestUri, MediaType mediaType, String requestData,
			StringBuilder buffer) {
		buffer.append("> ").append(method).append(' ');
		if (mediaType != null) {
			buffer.append("(").append(mediaType.toString()).append(") ");
		}
		buffer.append(requestUri.toString()).append(" ").append(requestData).append(OsUtils.LINE_SEPARATOR);
	}
Http commands.

@author Jon Brisbin
@author Ilayaperumal Gopinathan
@author Gunnar Hillert
@author Eric Bottard
@author David Turanski
spring-xd-shell/src/main/java/org/springframework/xd/shell/command/HttpCommands.java