Class KotlinSerializationProtobufHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.AbstractSmartHttpMessageConverter<Object>
org.springframework.http.converter.AbstractKotlinSerializationHttpMessageConverter<T>
org.springframework.http.converter.KotlinSerializationBinaryHttpMessageConverter<kotlinx.serialization.protobuf.ProtoBuf>
org.springframework.http.converter.protobuf.KotlinSerializationProtobufHttpMessageConverter
- All Implemented Interfaces:
- HttpMessageConverter<Object>,- SmartHttpMessageConverter<Object>
public class KotlinSerializationProtobufHttpMessageConverter
extends KotlinSerializationBinaryHttpMessageConverter<kotlinx.serialization.protobuf.ProtoBuf>
Implementation of 
HttpMessageConverter
 that can read and write Protocol Buffers using
 kotlinx.serialization.
 This converter can be used to bind @Serializable Kotlin classes,
 open polymorphic serialization
 is not supported.
 It supports application/x-protobuf, application/octet-stream, and application/vnd.google.protobuf.
- Since:
- 6.0
- Author:
- Iain Henderson
- 
Field SummaryFields inherited from class org.springframework.http.converter.AbstractHttpMessageConverterlogger
- 
Constructor SummaryConstructorsConstructorDescriptionKotlinSerializationProtobufHttpMessageConverter(kotlinx.serialization.protobuf.ProtoBuf protobuf) 
- 
Method SummaryMethods inherited from class org.springframework.http.converter.KotlinSerializationBinaryHttpMessageConverterreadInternal, writeInternalMethods inherited from class org.springframework.http.converter.AbstractKotlinSerializationHttpMessageConvertercanRead, canWrite, read, supports, supportsRepeatableWrites, writeInternalMethods inherited from class org.springframework.http.converter.AbstractSmartHttpMessageConverterreadInternal, write, writeInternalMethods inherited from class org.springframework.http.converter.AbstractHttpMessageConverteraddDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.converter.HttpMessageConvertergetSupportedMediaTypes, getSupportedMediaTypesMethods inherited from interface org.springframework.http.converter.SmartHttpMessageConvertercanRead, canWrite, read, write
- 
Constructor Details- 
KotlinSerializationProtobufHttpMessageConverterpublic KotlinSerializationProtobufHttpMessageConverter()
- 
KotlinSerializationProtobufHttpMessageConverterpublic KotlinSerializationProtobufHttpMessageConverter(kotlinx.serialization.protobuf.ProtoBuf protobuf) 
 
-