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

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