Class KotlinSerializationCborHttpMessageConverter

All Implemented Interfaces:
GenericHttpMessageConverter<Object>, HttpMessageConverter<Object>

public class KotlinSerializationCborHttpMessageConverter extends KotlinSerializationBinaryHttpMessageConverter<kotlinx.serialization.cbor.Cbor>
Implementation of HttpMessageConverter that can read and write CBOR using kotlinx.serialization.

This converter can be used to bind @Serializable Kotlin classes, open polymorphic serialization is not supported. It supports application/cbor.

Since:
6.0
Author:
Iain Henderson
  • Constructor Details

    • KotlinSerializationCborHttpMessageConverter

      public KotlinSerializationCborHttpMessageConverter()
    • KotlinSerializationCborHttpMessageConverter

      public KotlinSerializationCborHttpMessageConverter(kotlinx.serialization.cbor.Cbor cbor)