@Override
    public Iterator<MediaType> iterator() {
        return Iterators.forArray(mediaTypes);
    }
Returns the {@link MediaTypeSet} which is composed of the specified {@link MediaType}s.
core/src/main/java/com/linecorp/armeria/common/MediaTypeSet.java