Java org.springframework.web HttpMediaTypeNotSupportedException fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web HttpMediaTypeNotSupportedException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web HttpMediaTypeNotSupportedException.

The text is from its open source code.

Constructor

HttpMediaTypeNotSupportedException(@Nullable MediaType contentType, List supportedMediaTypes)
Create a new HttpMediaTypeNotSupportedException.
HttpMediaTypeNotSupportedException(String message)
Create a new HttpMediaTypeNotSupportedException.

Method

ClassgetClass()
Returns the runtime class of this Object .
MediaTypegetContentType()
Return the HTTP request content type method that caused the failure.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns the detail message string of this throwable.
ListgetSupportedMediaTypes()
Return the list of supported media types.