Uses of Class
org.springframework.http.converter.HttpMessageNotReadableException
Packages that use 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.
Test support for HTTP concepts.
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
Methods in org.springframework.http.converter that throw HttpMessageNotReadableExceptionModifier and TypeMethodDescriptionfinal TAbstractHttpMessageConverter.read(Class<? extends T> clazz, HttpInputMessage inputMessage) This implementation simple delegates toAbstractHttpMessageConverter.readInternal(Class, HttpInputMessage).AbstractJacksonHttpMessageConverter.read(ResolvableType type, HttpInputMessage inputMessage, @Nullable Map<String, Object> hints) final ObjectAbstractKotlinSerializationHttpMessageConverter.read(ResolvableType type, HttpInputMessage inputMessage, @Nullable Map<String, Object> hints) BufferedImageHttpMessageConverter.read(@Nullable Class<? extends BufferedImage> clazz, HttpInputMessage inputMessage) FormHttpMessageConverter.read(@Nullable Class<? extends MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) GenericHttpMessageConverter.read(Type type, @Nullable Class<?> contextClass, HttpInputMessage inputMessage) Read an object of the given type from 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, @Nullable Class<?> contextClass, HttpInputMessage inputMessage) default TSmartHttpMessageConverter.read(Class<? extends T> clazz, HttpInputMessage inputMessage) SmartHttpMessageConverter.read(ResolvableType type, HttpInputMessage inputMessage, @Nullable Map<String, Object> hints) Read an object of the given type from the given input message, and returns it.protected abstract TAbstractHttpMessageConverter.readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage) Abstract template method that reads the actual object.protected ObjectAbstractJacksonHttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) protected abstract ObjectAbstractKotlinSerializationHttpMessageConverter.readInternal(kotlinx.serialization.KSerializer<Object> serializer, T format, HttpInputMessage inputMessage) Reads the given input message with the given serializer and format.protected TAbstractSmartHttpMessageConverter.readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage) protected ObjectKotlinSerializationBinaryHttpMessageConverter.readInternal(kotlinx.serialization.KSerializer<Object> serializer, T format, HttpInputMessage inputMessage) protected ObjectKotlinSerializationStringHttpMessageConverter.readInternal(kotlinx.serialization.KSerializer<Object> serializer, T format, HttpInputMessage inputMessage) protected ObjectObjectToStringHttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) protected ResourceResourceHttpMessageConverter.readInternal(Class<? extends Resource> clazz, HttpInputMessage inputMessage) protected ResourceRegionResourceRegionHttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) -
Uses of HttpMessageNotReadableException in org.springframework.http.converter.feed
Methods in org.springframework.http.converter.feed that throw HttpMessageNotReadableExceptionModifier and TypeMethodDescriptionprotected TAbstractWireFeedHttpMessageConverter.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 HttpMessageNotReadableExceptionModifier and TypeMethodDescriptionAbstractJackson2HttpMessageConverter.read(Type type, @Nullable Class<?> contextClass, HttpInputMessage inputMessage) Deprecated, for removal: This API element is subject to removal in a future version.final ObjectAbstractJsonHttpMessageConverter.read(Type type, @Nullable Class<?> contextClass, HttpInputMessage inputMessage) protected ObjectAbstractJackson2HttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) Deprecated, for removal: This API element is subject to removal in a future version.protected final ObjectAbstractJsonHttpMessageConverter.readInternal(Class<?> clazz, HttpInputMessage inputMessage) -
Uses of HttpMessageNotReadableException in org.springframework.http.converter.protobuf
Methods in org.springframework.http.converter.protobuf that throw HttpMessageNotReadableExceptionModifier and TypeMethodDescriptionprotected com.google.protobuf.MessageProtobufHttpMessageConverter.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 HttpMessageNotReadableExceptionModifier and TypeMethodDescriptionJaxb2CollectionHttpMessageConverter.read(Type type, @Nullable Class<?> contextClass, HttpInputMessage inputMessage) final TAbstractXmlHttpMessageConverter.readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage) protected TSourceHttpMessageConverter.readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage) -
Uses of HttpMessageNotReadableException in org.springframework.test.http
Methods in org.springframework.test.http that throw HttpMessageNotReadableExceptionModifier and TypeMethodDescription<T> THttpMessageContentConverter.convert(HttpInputMessage message, MediaType mediaType, ResolvableType targetType) Convert the givenHttpInputMessagewhose content must match the givenMediaTypeto the requestedtargetType. -
Uses of HttpMessageNotReadableException in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type HttpMessageNotReadableExceptionModifier and TypeMethodDescriptionprotected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotReadableException.Methods in org.springframework.web.servlet.mvc.method.annotation that throw HttpMessageNotReadableExceptionModifier and TypeMethodDescriptionAbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType) Create the method argument value of the expected parameter type by reading from the given HttpInputMessage.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter, Type paramType) Create the method argument value of the expected parameter type by reading from the given request.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 HttpMessageNotReadableExceptionModifier and TypeMethodDescriptionprotected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @Nullable Object handler) Handle the case where a message converter cannot read from an HTTP request.