@Nullable
    public MediaType match(MediaType first, MediaType... rest) {
        requireNonNull(first, "first");
        requireNonNull(rest, "rest");
        return match(Lists.asList(first, rest));
    }
Finds the {@link MediaType} in this {@link List} that matches one of the specified media ranges.

@return the most preferred {@link MediaType} that matches one of the specified media ranges.
        {@code null} if there are no matches or the specified ranges do not contain any valid ranges.
core/src/main/java/com/linecorp/armeria/common/MediaTypeSet.java