## Uses of Class
org.springframework.web.HttpMediaTypeNotSupportedException

- Packages that use HttpMediaTypeNotSupportedException
  Package | Description
  --- | ---
  org.springframework.web.servlet.mvc.method.annotation | MVC infrastructure for annotation-based handler method processing, building on the `org.springframework.web.method.annotation` package.
  org.springframework.web.servlet.mvc.support | 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 HttpMediaTypeNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `protected 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 HttpMediaTypeNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `protected <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` | RequestResponseBodyMethodProcessor.`readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter, Type paramType)`
    `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.
    `Object` | 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 HttpMediaTypeNotSupportedException
    Modifier and Type | Method and Description
    --- | ---
    `protected 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.