StringFormat
HttpMessageConverter implementations that
defer to Kotlin string serializers.
| Access | Constructor and Description |
|---|---|
| protected | KotlinSerializationStringHttpMessageConverter(T format, MediaType... supportedMediaTypes)
Construct an |
| Modifier and Type | Method and Description |
|---|---|
| private static Charset | |
| protected Object | readInternal(kotlinx.serialization.KSerializer<Object> serializer, T format, HttpInputMessage inputMessage)
Implements abstract org. Reads the given input message with the given serializer and format. |
| protected void | writeInternal(Object object, kotlinx.serialization.KSerializer<Object> serializer, T format, HttpOutputMessage outputMessage)
Implements abstract org. Write the given object to the output message with the given serializer and format. |
| KotlinSerializationStringHttpMessageConverter | back to summary |
|---|---|
| protected KotlinSerializationStringHttpMessageConverter(T format, MediaType... supportedMediaTypes) Construct an | |
| charset | back to summary |
|---|---|
| private static Charset charset(MediaType contentType) | |
| readInternal | back to summary |
|---|---|
| protected Object readInternal(kotlinx.serialization.KSerializer<Object> serializer, T format, HttpInputMessage inputMessage) throws IOException, HttpMessageNotReadableException Implements abstract org. Doc from org. Reads the given input message with the given serializer and format.
| |
| writeInternal | back to summary |
|---|---|
| protected void writeInternal(Object object, kotlinx.serialization.KSerializer<Object> serializer, T format, HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException Implements abstract org. Doc from org. Write the given object to the output message with the given serializer and format.
| |