public void write ( OutputStream os ) throws IOException { if ( requestBodyWriter == null ) { if ( inputRead ) { is . reset ( ) ; inputRead = false ; } super . write ( os ) ; } else { requestBodyWriter . writeRequestBody ( os ) ; } }
Writes this request s body to the given output stream . This method may be called more than once during the lifetime of this request .