private void handleRequestBody ( HttpEntityEnclosingRequestBase httpRequest ) { HttpEntity entity = new StringEntity ( body , Charset . defaultCharset ( ) ) ; httpRequest . setEntity ( entity ) ; }
Set request body value to http request .