code: public Optional<MediaType> match(MediaType first, MediaType... rest) {
          requireNonNull(first, "first");
          requireNonNull(rest, "rest");
          return match(Lists.asList(first, rest));
      }
docs: 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.
  {@link Optional#empty()} if there are no matches or the specified ranges do not contain
  any valid ranges.