Uses of Class
org.springframework.web.HttpMediaTypeNotSupportedException
Packages that use 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
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type HttpMediaTypeNotSupportedExceptionModifier and TypeMethodDescriptionprotected ResponseEntity<Object>
ResponseEntityExceptionHandler.handleHttpMediaTypeNotSupported
(HttpMediaTypeNotSupportedException ex, HttpHeaders headers, HttpStatus status, WebRequest request) Customize the response for HttpMediaTypeNotSupportedException.Methods in org.springframework.web.servlet.mvc.method.annotation that throw HttpMediaTypeNotSupportedExceptionModifier 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
Methods in org.springframework.web.servlet.mvc.support with parameters of type HttpMediaTypeNotSupportedExceptionModifier 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.