Class KotlinSerializationCborHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<Object>
org.springframework.http.converter.AbstractSmartHttpMessageConverter<Object>
org.springframework.http.converter.AbstractKotlinSerializationHttpMessageConverter<kotlinx.serialization.cbor.Cbor>
org.springframework.http.converter.KotlinSerializationBinaryHttpMessageConverter<kotlinx.serialization.cbor.Cbor>
org.springframework.http.converter.cbor.KotlinSerializationCborHttpMessageConverter
- All Implemented Interfaces:
HttpMessageConverter<Object>,SmartHttpMessageConverter<Object>
public class KotlinSerializationCborHttpMessageConverter
extends KotlinSerializationBinaryHttpMessageConverter<kotlinx.serialization.cbor.Cbor>
Implementation of
HttpMessageConverter
that can read and write CBOR using
kotlinx.serialization.
It supports application/cbor.
As of Spring Framework 7.0, open polymorphism is supported.
- Since:
- 6.0
- Author:
- Iain Henderson
-
Field Summary
Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
logger -
Constructor Summary
ConstructorsConstructorDescriptionKotlinSerializationCborHttpMessageConverter(kotlinx.serialization.cbor.Cbor cbor) -
Method Summary
Methods inherited from class org.springframework.http.converter.KotlinSerializationBinaryHttpMessageConverter
readInternal, writeInternalMethods inherited from class org.springframework.http.converter.AbstractKotlinSerializationHttpMessageConverter
canRead, canWrite, getSupportedMediaTypes, read, supports, supportsRepeatableWrites, writeInternalMethods inherited from class org.springframework.http.converter.AbstractSmartHttpMessageConverter
readInternal, write, writeInternalMethods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.converter.HttpMessageConverter
getSupportedMediaTypesMethods inherited from interface org.springframework.http.converter.SmartHttpMessageConverter
canRead, canWrite, read, write
-
Constructor Details
-
KotlinSerializationCborHttpMessageConverter
public KotlinSerializationCborHttpMessageConverter() -
KotlinSerializationCborHttpMessageConverter
public KotlinSerializationCborHttpMessageConverter(kotlinx.serialization.cbor.Cbor cbor)
-