Uses of Class
org.springframework.http.converter.HttpMessageNotReadableException
Packages that use HttpMessageNotReadableException Package Description org.springframework.http.converter Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.org.springframework.http.converter.feed Provides HttpMessageConverter implementations for handling Atom and RSS feeds.org.springframework.http.converter.json Provides HttpMessageConverter implementations for handling JSON.org.springframework.http.converter.protobuf Provides an HttpMessageConverter implementation for handling Google Protocol Buffers.org.springframework.http.converter.xml Provides HttpMessageConverter implementations for handling XML.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.Uses of HttpMessageNotReadableException in org.springframework.http.converter
Methods in org.springframework.http.converter that throw HttpMessageNotReadableException Modifier and Type Method Description T
AbstractHttpMessageConverter. read(Class<? extends T> clazz, HttpInputMessage inputMessage)
This implementation simple delegates toAbstractHttpMessageConverter.readInternal(Class, HttpInputMessage)
.BufferedImage
BufferedImageHttpMessageConverter. read(Class<? extends BufferedImage> clazz, HttpInputMessage inputMessage)
MultiValueMap<String,String>
FormHttpMessageConverter. read(Class<? extends MultiValueMap<String,?>> clazz, HttpInputMessage inputMessage)
T
GenericHttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)
Read an object of the given type form the given input message, and returns it.T
HttpMessageConverter. read(Class<? extends T> clazz, HttpInputMessage inputMessage)
Read an object of the given type from the given input message, and returns it.Object
ResourceRegionHttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)
protected abstract T
AbstractHttpMessageConverter. readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage)
Abstract template method that reads the actual object.protected Object
ObjectToStringHttpMessageConverter. readInternal(Class<?> clazz, HttpInputMessage inputMessage)
protected Resource
ResourceHttpMessageConverter. readInternal(Class<? extends Resource> clazz, HttpInputMessage inputMessage)
protected ResourceRegion
ResourceRegionHttpMessageConverter. readInternal(Class<?> clazz, HttpInputMessage inputMessage)
Uses of HttpMessageNotReadableException in org.springframework.http.converter.feed
Methods in org.springframework.http.converter.feed that throw HttpMessageNotReadableException Modifier and Type Method Description protected T
AbstractWireFeedHttpMessageConverter. readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage)
Uses of HttpMessageNotReadableException in org.springframework.http.converter.json
Methods in org.springframework.http.converter.json that throw HttpMessageNotReadableException Modifier and Type Method Description Object
AbstractJackson2HttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)
Object
AbstractJsonHttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)
protected Object
AbstractJackson2HttpMessageConverter. readInternal(Class<?> clazz, HttpInputMessage inputMessage)
protected Object
AbstractJsonHttpMessageConverter. readInternal(Class<?> clazz, HttpInputMessage inputMessage)
Uses of HttpMessageNotReadableException in org.springframework.http.converter.protobuf
Methods in org.springframework.http.converter.protobuf that throw HttpMessageNotReadableException Modifier and Type Method Description protected com.google.protobuf.Message
ProtobufHttpMessageConverter. readInternal(Class<? extends com.google.protobuf.Message> clazz, HttpInputMessage inputMessage)
Uses of HttpMessageNotReadableException in org.springframework.http.converter.xml
Methods in org.springframework.http.converter.xml that throw HttpMessageNotReadableException Modifier and Type Method Description T
Jaxb2CollectionHttpMessageConverter. read(Type type, Class<?> contextClass, HttpInputMessage inputMessage)
T
AbstractXmlHttpMessageConverter. readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage)
protected T
SourceHttpMessageConverter. readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage)
Uses of HttpMessageNotReadableException in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type HttpMessageNotReadableException Modifier and Type Method Description protected ResponseEntity<Object>
ResponseEntityExceptionHandler. handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatus status, WebRequest request)
Customize the response for HttpMessageNotReadableException.Methods in org.springframework.web.servlet.mvc.method.annotation that throw HttpMessageNotReadableException Modifier and Type Method 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
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)
Uses of HttpMessageNotReadableException in org.springframework.web.servlet.mvc.support
Methods in org.springframework.web.servlet.mvc.support with parameters of type HttpMessageNotReadableException Modifier and Type Method Description protected ModelAndView
DefaultHandlerExceptionResolver. handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpServletRequest request, HttpServletResponse response, Object handler)
Handle the case where a message converter cannot read from an HTTP request.