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 .