@Override
    public String toString() {
        final StringBuilder builder = new StringBuilder();
        builder.append("SimpleResponseBuilder [status=");
        builder.append(getStatus());
        builder.append(", headerGroup=");
        builder.append(Arrays.toString(getHeaders()));
        builder.append(", body=");
        builder.append(body);
        builder.append("]");
        return builder.toString();
    }
Sets the body.

@param content the body content.
@param contentType the body content-type.
@return this instance.
httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleResponseBuilder.java