open class DefaultContentTypeResolver : ContentTypeResolver
A default ContentTypeResolver that checks the MessageHeaders#CONTENT_TYPE
header or falls back to a default value.
The header value is expected to be a org.springframework.util.MimeType or a String
that can be parsed into a MimeType
.
Author
Rossen Stoyanchev
Since
4.0
DefaultContentTypeResolver()
A default ContentTypeResolver that checks the The header value is expected to be a org.springframework.util.MimeType or a |
open fun getDefaultMimeType(): MimeType
Return the default MIME type to use if no |
|
open fun resolve(headers: MessageHeaders): MimeType |
|
open fun setDefaultMimeType(defaultMimeType: MimeType): Unit
Set the default MIME type to use when there is no This property does not have a default value. |
|
open fun toString(): String |