public static MediaTypeSet of(MediaType... mediaTypes) {
        return new MediaTypeSet(ImmutableList.copyOf(requireNonNull(mediaTypes, "mediaTypes")));
    }
Returns the {@link MediaTypeSet} which is composed of the specified {@link MediaType}s.
core/src/main/java/com/linecorp/armeria/common/MediaTypeSet.java