private void prepareRequestBody ( ) throws IOException { if ( bodyByteArray != null ) { setByteArrayBody ( ) ; } else if ( bodyString != null ) { setStringBody ( ) ; } else if ( bodyObject != null ) { setTypedBody ( ) ; } }
Prepares the request body - setting the body charset and content length by body type