/** * Produces a matcher for the given media types. * * @param acceptable The acceptable/target media types. * @return A media type matcher. */ public static Matcher matcher(final List<MediaType> acceptable) { requireNonNull(acceptable, "Acceptables media types are required."); return new Matcher(acceptable); }
/** * Produces a matcher for the given media types. * * @param acceptable The acceptable/target media types. * @return A media type matcher. */ public static Matcher matcher(final List<MediaType> acceptable) { requireNonNull(acceptable, "Acceptables media types are required."); return new Matcher(acceptable); }