public String getText() {
        return text;
    }
Gets the entity content as a string if set using {@link #setText(String)}.

@return the entity content as a string, may be null.
httpclient5/src/main/java/org/apache/hc/client5/http/entity/EntityBuilder.java