public ContentType getContentType() {
        return body != null ? body.getContentType() : null;
    }
Gets the request content type.

@return the request content type.
httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleHttpRequest.java