private String computeToString() {
        StringBuilder builder = new StringBuilder().append(type).append('/').append(subtype);
        if (!parameters.isEmpty()) {
            builder.append("; ");
            Multimap<String, String> quotedParameters =
                    Multimaps.transformValues(
                            parameters,
                            value -> (TOKEN_MATCHER.matchesAllOf(value) && !value.isEmpty())
                                     ? value
                                     : escapeAndQuote(value));
            PARAMETER_JOINER.appendTo(builder, quotedParameters.entries());
        }
        return builder.toString();
    }
Returns the string representation of this media type in the format described in <a
href="https://datatracker.ietf.org/doc/rfc2045/">RFC 2045</a>.
core/src/main/java/com/linecorp/armeria/common/MediaType.java