Uses of Class
org.springframework.web.HttpMediaTypeNotSupportedException
Package
Description
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support package for MVC controllers.
-
Uses of HttpMediaTypeNotSupportedException in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionprotected ResponseEntity<Object>
ResponseEntityExceptionHandler.handleHttpMediaTypeNotSupported
(HttpMediaTypeNotSupportedException ex, HttpHeaders headers, HttpStatus status, WebRequest request) Customize the response for HttpMediaTypeNotSupportedException.Modifier and TypeMethodDescriptionprotected <T> Object
AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters
(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType) Create the method argument value of the expected parameter type by reading from the given HttpInputMessage.protected <T> Object
AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters
(NativeWebRequest webRequest, MethodParameter parameter, Type paramType) Create the method argument value of the expected parameter type by reading from the given request.protected <T> Object
RequestResponseBodyMethodProcessor.readWithMessageConverters
(NativeWebRequest webRequest, MethodParameter parameter, Type paramType) HttpEntityMethodProcessor.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) -
Uses of HttpMediaTypeNotSupportedException in org.springframework.web.servlet.mvc.support
Modifier and TypeMethodDescriptionprotected ModelAndView
DefaultHandlerExceptionResolver.handleHttpMediaTypeNotSupported
(HttpMediaTypeNotSupportedException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no message converters were found for the PUT or POSTed content.