public static List<Variant> createVariants(MediaType... mediaTypes) {
		return
			Variant.VariantListBuilder.
				newInstance().
					mediaTypes(mediaTypes).
					encodings().
					languages().
					add().
					build();
	}
public static List<Variant> createVariants(MediaType... mediaTypes) {
		return
			Variant.VariantListBuilder.
				newInstance().
					mediaTypes(mediaTypes).
					encodings().
					languages().
					add().
					build();
	}
public static List < Variant > createVariants ( MediaType ... mediaTypes ) { return Variant . VariantListBuilder . newInstance ( ) . mediaTypes ( mediaTypes ) . encodings ( ) . languages ( ) . add ( ) . build ( ) ; }
Get a list of acceptable variants. Current implementation only leverages
media type for the specification of variants.

@param mediaTypes
The list of acceptable media types.
@return A list of acceptable variants.
Get a list of acceptable variants . Current implementation only leverages media type for the specification of variants .