public void setBody(final String bodyText, final ContentType contentType) {
        this.body = SimpleBody.create(bodyText, contentType);
    }
Sets the message body and content type.

@param bodyText request body.
@param contentType request content type.
httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleHttpRequest.java