public void printBody(final OutputStream output) throws IOException {
        final InputStream input = new RqChunk(new RqLengthAware(this)).body();
        //@checkstyle MagicNumberCheck (1 line)
        final byte[] buf = new byte[4096];
        while (true) {
            final int bytes = input.read(buf);
            if (bytes < 0) {
                break;
            }
            output.write(buf, 0, bytes);
        }
    }
public void printBody ( final OutputStream output ) throws IOException { final InputStream input = new RqChunk ( new RqLengthAware ( this ) ) . body ( ) ; final byte [ ] buf = new byte [ 4096 ] ; while ( true ) { final int bytes = input . read ( buf ) ; if ( bytes < 0 ) { break ; } output . write ( buf , 0 , bytes ) ; } }
Print body.
@param output Output stream to print to
@throws IOException If fails