ContentNegotiationManager(vararg strategies: ContentNegotiationStrategy)
Create an instance with the given list of ContentNegotiationStrategy
strategies each of which may also be an instance of MediaTypeFileExtensionResolver
.
strategies
- the strategies to use
ContentNegotiationManager(strategies: MutableCollection<ContentNegotiationStrategy>)
A collection-based alternative to #ContentNegotiationManager(ContentNegotiationStrategy...)
.
strategies
- the strategies to use
Since
3.2.2
ContentNegotiationManager()
Create a default instance with a HeaderContentNegotiationStrategy.