public static MatchedValuesRequestControl newControl(final boolean isCritical,final String... filters){
  Reject.ifFalse(filters.length > 0,"filters is empty");
  final List<Filter> parsedFilters=new ArrayList<>(filters.length);
  for (  final String filter : filters) {
    parsedFilters.add(validateFilter(Filter.valueOf(filter)));
  }
  return new MatchedValuesRequestControl(isCritical,Collections.unmodifiableList(parsedFilters));
}

public static MatchedValuesRequestControl newControl ( final boolean isCritical , final String ... filters ) { Reject . ifFalse ( filters . length > 0 , "filters is empty" ) ; final List < Filter > parsedFilters = new ArrayList < > ( filters . length ) ; for ( final String filter : filters ) { parsedFilters . add ( validateFilter ( Filter . valueOf ( filter ) ) ) ; } return new MatchedValuesRequestControl ( isCritical , Collections . unmodifiableList ( parsedFilters ) ) ; }
creates a new matched values request control with the provided criticality and list of filters .
