public String nameWithoutParameters() {
        return type() + '/' + subtype();
    }
Returns a name of this {@link MediaType} only consisting of the type and the sub type.
core/src/main/java/com/linecorp/armeria/common/MediaType.java