rest-assured/src/main/java/io/restassured/builder/ResponseBuilder.java
public ResponseBuilder setContentType(ContentType contentType) {
        notNull(contentType, ContentType.class);
        return setContentType(contentType.toString());
    }
public ResponseBuilder setContentType(ContentType contentType) {
        notNull(contentType, ContentType.class);
        return setContentType(contentType.toString());
    }
public ResponseBuilder setContentType ( ContentType contentType ) { notNull ( contentType , ContentType . class ) ; return setContentType ( contentType . toString ( ) ) ; }
Set the content type of the response

@return The builder
Set the content type of the response