code: public HttpMediaType setCharsetParameter(Charset charset) {
      setParameter("charset", charset == null ? null : charset.name());
      return this;
    }
docs: Sets the charset parameter of the media type.
  
  @param charset new value for the charset parameter or {@code null} to remove