public String printBody() throws IOException {
        final ByteArrayOutputStream baos = new ByteArrayOutputStream();
        this.printBody(baos);
        return new Utf8String(baos.toByteArray()).asString();
    }
public String printBody ( ) throws IOException { final ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ; this . printBody ( baos ) ; return new Utf8String ( baos . toByteArray ( ) ) . asString ( ) ; }
Print body into string.
@return Entire body of HTTP response
@throws IOException If fails