junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java
private void handleBody(HttpRequestBase httpRequest) {
		if (hasBody()) {
			HttpEntityEnclosingRequestBase rq = (HttpEntityEnclosingRequestBase) httpRequest;
			if (!formParams.isEmpty()) {
				handleFormParameters(rq);
			}
			else if (body != null) {
				handleRequestBody(rq);
			}
		}
	}
private void handleBody(HttpRequestBase httpRequest) {
		if (hasBody()) {
			HttpEntityEnclosingRequestBase rq = (HttpEntityEnclosingRequestBase) httpRequest;
			if (!formParams.isEmpty()) {
				handleFormParameters(rq);
			}
			else if (body != null) {
				handleRequestBody(rq);
			}
		}
	}
private void handleBody ( HttpRequestBase httpRequest ) { if ( hasBody ( ) ) { HttpEntityEnclosingRequestBase rq = ( HttpEntityEnclosingRequestBase ) httpRequest ; if ( ! formParams . isEmpty ( ) ) { handleFormParameters ( rq ) ; } else if ( body != null ) { handleRequestBody ( rq ) ; } } }
Add request body.

@param httpRequest The HTTP request.
Add request body .