Example usage for Java org.springframework.web HttpMediaTypeNotSupportedException fields, constructors, methods, implement or subclass
The text is from its open source code.
HttpMediaTypeNotSupportedException(@Nullable MediaType contentType, List Create a new HttpMediaTypeNotSupportedException. | |
HttpMediaTypeNotSupportedException(String message) Create a new HttpMediaTypeNotSupportedException. |
Class> | getClass() Returns the runtime class of this Object . |
MediaType | getContentType() Return the HTTP request content type method that caused the failure. |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Returns the detail message string of this throwable. |
List | getSupportedMediaTypes() Return the list of supported media types. |