toStringify method

String toStringify(
  1. Iterable<MediaType> mediaTypes
)
  • Return a string representation of the given list of MediaType objects.
    • This method can be used to for an Accept or Content-Type header.
    • @param mediaTypes the media types to create a string representation for
    • @return the string representation

Implementation

static String toStringify(Iterable<MediaType> mediaTypes) {
	return MimeTypeUtils.toStringify(mediaTypes);
}