Uses of Class
org.springframework.http.converter.HttpMessageNotWritableException
Packages that use HttpMessageNotWritableException
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 HttpMessageNotWritableException in org.springframework.http.converterMethods in org.springframework.http.converter that throw HttpMessageNotWritableExceptionModifier and TypeMethodDescriptionfinal voidAbstractGenericHttpMessageConverter.write(T t, @Nullable Type type, @Nullable MediaType contentType, HttpOutputMessage outputMessage) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractGenericHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).final voidAbstractHttpMessageConverter.write(T t, @Nullable MediaType contentType, HttpOutputMessage outputMessage) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).final voidAbstractSmartHttpMessageConverter.write(T t, ResolvableType type, @Nullable MediaType contentType, HttpOutputMessage outputMessage, @Nullable Map<String, Object> hints) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractSmartHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).voidBufferedImageHttpMessageConverter.write(BufferedImage image, @Nullable MediaType contentType, HttpOutputMessage outputMessage) voidFormHttpMessageConverter.write(MultiValueMap<String, ?> map, @Nullable MediaType contentType, HttpOutputMessage outputMessage) voidGenericHttpMessageConverter.write(T t, @Nullable Type type, @Nullable MediaType contentType, HttpOutputMessage outputMessage) Write a given object to the given output message.voidHttpMessageConverter.write(T t, @Nullable MediaType contentType, HttpOutputMessage outputMessage) Write a given object to the given output message.voidSmartHttpMessageConverter.write(T t, ResolvableType type, @Nullable MediaType contentType, HttpOutputMessage outputMessage, @Nullable Map<String, Object> hints) Write a given object to the given output message.default voidSmartHttpMessageConverter.write(T t, @Nullable MediaType contentType, HttpOutputMessage outputMessage) protected voidResourceHttpMessageConverter.writeContent(Resource resource, HttpOutputMessage outputMessage) protected abstract voidAbstractGenericHttpMessageConverter.writeInternal(T t, @Nullable Type type, HttpOutputMessage outputMessage) Abstract template method that writes the actual body.protected voidAbstractGenericHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) protected abstract voidAbstractHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) Abstract template method that writes the actual body.protected voidAbstractJacksonHttpMessageConverter.writeInternal(Object object, ResolvableType resolvableType, HttpOutputMessage outputMessage, @Nullable Map<String, Object> hints) protected abstract voidAbstractKotlinSerializationHttpMessageConverter.writeInternal(Object object, kotlinx.serialization.KSerializer<Object> serializer, T format, HttpOutputMessage outputMessage) Write the given object to the output message with the given serializer and format.protected final voidAbstractKotlinSerializationHttpMessageConverter.writeInternal(Object object, ResolvableType type, HttpOutputMessage outputMessage, @Nullable Map<String, Object> hints) protected abstract voidAbstractSmartHttpMessageConverter.writeInternal(T t, ResolvableType type, HttpOutputMessage outputMessage, @Nullable Map<String, Object> hints) Abstract template method that writes the actual body.protected voidAbstractSmartHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) protected voidKotlinSerializationBinaryHttpMessageConverter.writeInternal(Object object, kotlinx.serialization.KSerializer<Object> serializer, T format, HttpOutputMessage outputMessage) protected voidKotlinSerializationStringHttpMessageConverter.writeInternal(Object object, kotlinx.serialization.KSerializer<Object> serializer, T format, HttpOutputMessage outputMessage) protected voidResourceHttpMessageConverter.writeInternal(Resource resource, HttpOutputMessage outputMessage) protected voidResourceRegionHttpMessageConverter.writeInternal(Object object, @Nullable Type type, HttpOutputMessage outputMessage) 
- 
Uses of HttpMessageNotWritableException in org.springframework.http.converter.feedMethods in org.springframework.http.converter.feed that throw HttpMessageNotWritableExceptionModifier and TypeMethodDescriptionprotected voidAbstractWireFeedHttpMessageConverter.writeInternal(T wireFeed, HttpOutputMessage outputMessage) 
- 
Uses of HttpMessageNotWritableException in org.springframework.http.converter.jsonMethods in org.springframework.http.converter.json that throw HttpMessageNotWritableExceptionModifier and TypeMethodDescriptionprotected voidAbstractJackson2HttpMessageConverter.writeInternal(Object object, @Nullable Type type, HttpOutputMessage outputMessage) Deprecated, for removal: This API element is subject to removal in a future version.protected final voidAbstractJsonHttpMessageConverter.writeInternal(Object object, @Nullable Type type, HttpOutputMessage outputMessage) 
- 
Uses of HttpMessageNotWritableException in org.springframework.http.converter.protobufMethods in org.springframework.http.converter.protobuf that throw HttpMessageNotWritableExceptionModifier and TypeMethodDescriptionprotected voidProtobufHttpMessageConverter.writeInternal(com.google.protobuf.Message message, HttpOutputMessage outputMessage) 
- 
Uses of HttpMessageNotWritableException in org.springframework.http.converter.xmlMethods in org.springframework.http.converter.xml that throw HttpMessageNotWritableExceptionModifier and TypeMethodDescriptionvoidJaxb2CollectionHttpMessageConverter.write(T t, @Nullable Type type, @Nullable MediaType contentType, HttpOutputMessage outputMessage) protected final voidAbstractXmlHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) protected voidSourceHttpMessageConverter.writeInternal(T t, HttpOutputMessage outputMessage) 
- 
Uses of HttpMessageNotWritableException in org.springframework.web.servlet.mvc.method.annotationMethods in org.springframework.web.servlet.mvc.method.annotation with parameters of type HttpMessageNotWritableExceptionModifier and TypeMethodDescriptionprotected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotWritableException.Methods in org.springframework.web.servlet.mvc.method.annotation that throw HttpMessageNotWritableExceptionModifier and TypeMethodDescriptionvoidRequestResponseBodyMethodProcessor.handleReturnValue(@Nullable Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) protected <T> voidAbstractMessageConverterMethodProcessor.writeWithMessageConverters(@Nullable T value, MethodParameter returnType, ServletServerHttpRequest inputMessage, ServletServerHttpResponse outputMessage) Write the given return type to the given output message.protected <T> voidAbstractMessageConverterMethodProcessor.writeWithMessageConverters(T value, MethodParameter returnType, NativeWebRequest webRequest) Writes the given return value to the given web request.
- 
Uses of HttpMessageNotWritableException in org.springframework.web.servlet.mvc.supportMethods in org.springframework.web.servlet.mvc.support with parameters of type HttpMessageNotWritableExceptionModifier and TypeMethodDescriptionprotected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpServletRequest request, HttpServletResponse response, @Nullable Object handler) Handle the case where a message converter cannot write to an HTTP response.