open class FixedContentNegotiationStrategy : ContentNegotiationStrategy
A ContentNegotiationStrategy that returns a fixed content type.
Author
Rossen Stoyanchev
Since
3.2
FixedContentNegotiationStrategy(contentType: MediaType)
Constructor with a single default FixedContentNegotiationStrategy(contentTypes: MutableList<MediaType>)
Constructor with an ordered List of default Consider appending |
open fun getContentTypes(): MutableList<MediaType>
Return the configured list of media types. |
|
open fun resolveMediaTypes(request: NativeWebRequest): MutableList<MediaType> |