BinaryFormat
HttpMessageConverter implementations that
defer to Kotlin binary serializers.
| Access | Constructor and Description |
|---|---|
| protected | KotlinSerializationBinaryHttpMessageConverter(T format, MediaType... supportedMediaTypes)
Construct an |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| KotlinSerializationBinaryHttpMessageConverter | back to summary |
|---|---|
| protected KotlinSerializationBinaryHttpMessageConverter(T format, MediaType... supportedMediaTypes) Construct an | |
| 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.
| |