<init>
ContentNegotiation(
registrations: List<ConverterRegistration>,
acceptContributors: List<AcceptHeaderContributor>)
This feature provides automatic content conversion according to Content-Type and Accept headers
See normative documents:
- https://tools.ietf.org/html/rfc7231#section-5.3
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation
Parameters
registrations
- is a list of registered converters for ContentTypes