# Uses of Class
org.springframework.http.converter.HttpMessageNotWritableException

Packages that use HttpMessageNotWritableException
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.

## Uses of HttpMessageNotWritableException in org.springframework.http.converter

Methods in org.springframework.http.converter that throw HttpMessageNotWritableException
Modifier and Type
Method
Description
`final void`
AbstractGenericHttpMessageConverter.`write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage)`
This implementation sets the default headers by calling `AbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType)`, and then calls `AbstractGenericHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage)`.
`final void`
AbstractHttpMessageConverter.`write(T t, MediaType contentType, HttpOutputMessage outputMessage)`
This implementation sets the default headers by calling `AbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType)`, and then calls `AbstractHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage)`.
`final void`
AbstractSmartHttpMessageConverter.`write(T t, org.springframework.core.ResolvableType type, MediaType contentType, HttpOutputMessage outputMessage, Map<String,Object> hints)`
This implementation sets the default headers by calling `AbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType)`, and then calls `AbstractSmartHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage)`.
`void`
BufferedImageHttpMessageConverter.`write(BufferedImage image, MediaType contentType, HttpOutputMessage outputMessage)`
`void`
FormHttpMessageConverter.`write(org.springframework.util.MultiValueMap<String,?> map, MediaType contentType, HttpOutputMessage outputMessage)`
`void`
GenericHttpMessageConverter.`write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage)`
Write a given object to the given output message.
`void`
HttpMessageConverter.`write(T t, MediaType contentType, HttpOutputMessage outputMessage)`
Write a given object to the given output message.
`void`
SmartHttpMessageConverter.`write(T t, org.springframework.core.ResolvableType type, MediaType contentType, HttpOutputMessage outputMessage, Map<String,Object> hints)`
Write a given object to the given output message.
`default void`
SmartHttpMessageConverter.`write(T t, MediaType contentType, HttpOutputMessage outputMessage)`
`protected void`
ResourceHttpMessageConverter.`writeContent(org.springframework.core.io.Resource resource, HttpOutputMessage outputMessage)`
`protected abstract void`
AbstractGenericHttpMessageConverter.`writeInternal(T t, Type type, HttpOutputMessage outputMessage)`
Abstract template method that writes the actual body.
`protected void`
AbstractGenericHttpMessageConverter.`writeInternal(T t, HttpOutputMessage outputMessage)`
`protected abstract void`
AbstractHttpMessageConverter.`writeInternal(T t, HttpOutputMessage outputMessage)`
Abstract template method that writes the actual body.
`protected abstract void`
AbstractKotlinSerializationHttpMessageConverter.`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 void`
AbstractKotlinSerializationHttpMessageConverter.`writeInternal(Object object, org.springframework.core.ResolvableType type, HttpOutputMessage outputMessage, Map<String,Object> hints)`
`protected abstract void`
AbstractSmartHttpMessageConverter.`writeInternal(T t, org.springframework.core.ResolvableType type, HttpOutputMessage outputMessage, Map<String,Object> hints)`
Abstract template method that writes the actual body.
`protected void`
AbstractSmartHttpMessageConverter.`writeInternal(T t, HttpOutputMessage outputMessage)`
`protected void`
KotlinSerializationBinaryHttpMessageConverter.`writeInternal(Object object, kotlinx.serialization.KSerializer<Object> serializer, T format, HttpOutputMessage outputMessage)`
`protected void`
KotlinSerializationStringHttpMessageConverter.`writeInternal(Object object, kotlinx.serialization.KSerializer<Object> serializer, T format, HttpOutputMessage outputMessage)`
`protected void`
ResourceHttpMessageConverter.`writeInternal(org.springframework.core.io.Resource resource, HttpOutputMessage outputMessage)`
`protected void`
ResourceRegionHttpMessageConverter.`writeInternal(Object object, Type type, HttpOutputMessage outputMessage)`

## Uses of HttpMessageNotWritableException in org.springframework.http.converter.feed

Methods in org.springframework.http.converter.feed that throw HttpMessageNotWritableException
Modifier and Type
Method
Description
`protected void`
AbstractWireFeedHttpMessageConverter.`writeInternal(T wireFeed, HttpOutputMessage outputMessage)`

## Uses of HttpMessageNotWritableException in org.springframework.http.converter.json

Methods in org.springframework.http.converter.json that throw HttpMessageNotWritableException
Modifier and Type
Method
Description
`protected void`
AbstractJackson2HttpMessageConverter.`writeInternal(Object object, Type type, HttpOutputMessage outputMessage)`
`protected final void`
AbstractJsonHttpMessageConverter.`writeInternal(Object object, Type type, HttpOutputMessage outputMessage)`

## Uses of HttpMessageNotWritableException in org.springframework.http.converter.protobuf

Methods in org.springframework.http.converter.protobuf that throw HttpMessageNotWritableException
Modifier and Type
Method
Description
`protected void`
ProtobufHttpMessageConverter.`writeInternal(com.google.protobuf.Message message, HttpOutputMessage outputMessage)`

## Uses of HttpMessageNotWritableException in org.springframework.http.converter.xml

Methods in org.springframework.http.converter.xml that throw HttpMessageNotWritableException
Modifier and Type
Method
Description
`void`
Jaxb2CollectionHttpMessageConverter.`write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage)`
`protected final void`
AbstractXmlHttpMessageConverter.`writeInternal(T t, HttpOutputMessage outputMessage)`
`protected void`
SourceHttpMessageConverter.`writeInternal(T t, HttpOutputMessage outputMessage)`