Class UnsupportedMediaType

All Implemented Interfaces:
Serializable, HttpMessage, HttpResponse

@Response @StatusCode(415) @Schema(description="Unsupported Media Type") public class UnsupportedMediaType extends BasicHttpException
Exception representing an HTTP 415 (Unsupported Media Type).

The request entity has a media type which the server or resource does not support.
For example, the client uploads an image as image/svg+xml, but the server requires that images use a different format.

See Also: