Uses of Class
org.springframework.http.converter.HttpMessageNotReadableException
Package
Description
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Provides HttpMessageConverter implementations for handling Atom and RSS feeds.
Provides HttpMessageConverter implementations for handling JSON.
Provides an HttpMessageConverter implementation for handling
Google Protocol Buffers.
Provides HttpMessageConverter implementations for handling XML.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support package for MVC controllers.
-
Uses of HttpMessageNotReadableException in org.springframework.http.converter
Modifier and TypeMethodDescriptionfinal T
AbstractHttpMessageConverter.read
(Class<? extends T> clazz, HttpInputMessage inputMessage) This implementation simple delegates toAbstractHttpMessageConverter.readInternal(Class, HttpInputMessage)
.final Object
AbstractKotlinSerializationHttpMessageConverter.read
(Type type, Class<?> contextClass, HttpInputMessage inputMessage) BufferedImageHttpMessageConverter.read
(Class<? extends BufferedImage> clazz, HttpInputMessage inputMessage) FormHttpMessageConverter.read
(Class<? extends MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) GenericHttpMessageConverter.read
(Type type, Class<?> contextClass, HttpInputMessage inputMessage) Read an object of the given type form the given input message, and returns it.HttpMessageConverter.read
(Class<? extends T> clazz, HttpInputMessage inputMessage) Read an object of the given type from the given input message, and returns it.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 final Object
AbstractKotlinSerializationHttpMessageConverter.readInternal
(Class<?> clazz, HttpInputMessage inputMessage) protected abstract Object
AbstractKotlinSerializationHttpMessageConverter.readInternal
(kotlinx.serialization.KSerializer<Object> serializer, T format, HttpInputMessage inputMessage) Reads the given input message with the given serializer and format.protected Object
KotlinSerializationBinaryHttpMessageConverter.readInternal
(kotlinx.serialization.KSerializer<Object> serializer, T format, HttpInputMessage inputMessage) protected Object
KotlinSerializationStringHttpMessageConverter.readInternal
(kotlinx.serialization.KSerializer<Object> serializer, T format, HttpInputMessage inputMessage) 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
Modifier and TypeMethodDescriptionprotected T
AbstractWireFeedHttpMessageConverter.readInternal
(Class<? extends T> clazz, HttpInputMessage inputMessage) -
Uses of HttpMessageNotReadableException in org.springframework.http.converter.json
Modifier and TypeMethodDescriptionAbstractJackson2HttpMessageConverter.read
(Type type, Class<?> contextClass, HttpInputMessage inputMessage) final Object
AbstractJsonHttpMessageConverter.read
(Type type, Class<?> contextClass, HttpInputMessage inputMessage) protected Object
AbstractJackson2HttpMessageConverter.readInternal
(Class<?> clazz, HttpInputMessage inputMessage) protected final Object
AbstractJsonHttpMessageConverter.readInternal
(Class<?> clazz, HttpInputMessage inputMessage) -
Uses of HttpMessageNotReadableException in org.springframework.http.converter.protobuf
Modifier and TypeMethodDescriptionprotected com.google.protobuf.Message
ProtobufHttpMessageConverter.readInternal
(Class<? extends com.google.protobuf.Message> clazz, HttpInputMessage inputMessage) -
Uses of HttpMessageNotReadableException in org.springframework.http.converter.xml
Modifier and TypeMethodDescriptionJaxb2CollectionHttpMessageConverter.read
(Type type, Class<?> contextClass, HttpInputMessage inputMessage) final 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
Modifier and TypeMethodDescriptionprotected ResponseEntity<Object>
ResponseEntityExceptionHandler.handleHttpMessageNotReadable
(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotReadableException
.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) -
Uses of HttpMessageNotReadableException in org.springframework.web.servlet.mvc.support
Modifier and TypeMethodDescriptionprotected ModelAndView
DefaultHandlerExceptionResolver.handleHttpMessageNotReadable
(HttpMessageNotReadableException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where a message converter cannot read from an HTTP request.