open class HttpMediaTypeNotSupportedException : HttpMediaTypeException
Exception thrown when a client POSTs, PUTs, or PATCHes content of a type not supported by request handler.
Author
Arjen Poutsma
Since
3.0
HttpMediaTypeNotSupportedException(message: String) HttpMediaTypeNotSupportedException(contentType: MediaType, supportedMediaTypes: MutableList<MediaType>) HttpMediaTypeNotSupportedException(contentType: MediaType, supportedMediaTypes: MutableList<MediaType>, msg: String)
Create a new HttpMediaTypeNotSupportedException. |
open fun getContentType(): MediaType
Return the HTTP request content type method that caused the failure. |