Package org.springframework.http.codec.protobuf
@NonNullApi
@NonNullFields
package org.springframework.http.codec.protobuf
Provides an encoder and a decoder for
Google Protocol Buffers.
-
ClassDescriptionDecode a byte stream into a protocol Buffer and convert to Objects with kotlinx.serialization.Decode a byte stream into a Protocol Buffer and convert to Objects with kotlinx.serialization.Base class providing support methods for Protobuf encoding and decoding.
HttpMessageWriter
that can write a protobufMessage
and addsX-Protobuf-Schema
,X-Protobuf-Message
headers and adelimited=true
parameter is added to the content type if a flux is serialized.AEncoder
that writesMessage
s as JSON.