クラス KotlinSerializationCborHttpMessageConverter
java.lang.ObjectSE
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.AbstractGenericHttpMessageConverter<ObjectSE>
org.springframework.http.converter.AbstractKotlinSerializationHttpMessageConverter<T>
org.springframework.http.converter.KotlinSerializationBinaryHttpMessageConverter<kotlinx.serialization.cbor.Cbor>
org.springframework.http.converter.cbor.KotlinSerializationCborHttpMessageConverter
- 実装されたすべてのインターフェース:
GenericHttpMessageConverter<ObjectSE>
,HttpMessageConverter<ObjectSE>
public class KotlinSerializationCborHttpMessageConverter
extends KotlinSerializationBinaryHttpMessageConverter<kotlinx.serialization.cbor.Cbor>
kotlinx.serialization を使用して CBOR を読み書きできる
HttpMessageConverter
の実装。 このコンバーターは、@Serializable
Kotlin クラスをバインドするために使用できます。オープンポリモーフィック 直列化はサポートされていません。application/cbor
をサポートしています。
- 導入:
- 6.0
- 作成者:
- Iain Henderson
フィールドサマリー
クラス org.springframework.http.converter.AbstractHttpMessageConverter から継承されたフィールド
logger
コンストラクターのサマリー
メソッドのサマリー
クラス org.springframework.http.converter.KotlinSerializationBinaryHttpMessageConverter から継承されたメソッド
readInternal, writeInternal
クラス org.springframework.http.converter.AbstractKotlinSerializationHttpMessageConverter から継承されたメソッド
canRead, canWrite, read, readInternal, supports, supportsRepeatableWrites, writeInternal
クラス org.springframework.http.converter.AbstractGenericHttpMessageConverter から継承されたメソッド
write, writeInternal
クラス org.springframework.http.converter.AbstractHttpMessageConverter から継承されたメソッド
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.http.converter.HttpMessageConverter から継承されたメソッド
canRead, canWrite, getSupportedMediaTypes, getSupportedMediaTypes, read, write
コンストラクターの詳細
KotlinSerializationCborHttpMessageConverter
public KotlinSerializationCborHttpMessageConverter()KotlinSerializationCborHttpMessageConverter
public KotlinSerializationCborHttpMessageConverter(kotlinx.serialization.cbor.Cbor cbor)