# Package org.springframework.http.codec.protobuf

@NonNullApi @NonNullFields package org.springframework.http.codec.protobuf
Provides an encoder and a decoder for Google Protocol Buffers.

Related Packages
Package
Description
org.springframework.http.codec
Provides implementations of `Encoder` and `Decoder` for web use.
org.springframework.http.codec.cbor
CBOR encoder and decoder support.
org.springframework.http.codec.json
JSON encoder and decoder support.
org.springframework.http.codec.multipart
Multipart support.
org.springframework.http.codec.support
Provides implementations of `ClientCodecConfigurer` and `ServerCodecConfigurer` based on the converter implementations from `org.springframework.http.codec.json` and co.
org.springframework.http.codec.xml
XML encoder and decoder support.
Classes
Class
Description
KotlinSerializationProtobufDecoder
Decode a byte stream into a protocol Buffer and convert to Objects with kotlinx.serialization.
KotlinSerializationProtobufEncoder
Decode a byte stream into a Protocol Buffer and convert to Objects with kotlinx.serialization.
ProtobufCodecSupport
Base class providing support methods for Protobuf encoding and decoding.
ProtobufDecoder
A `Decoder` that reads `Message`s using Google Protocol Buffers.
ProtobufEncoder
An `Encoder` that writes `Message`s using Google Protocol Buffers.
ProtobufHttpMessageWriter
`HttpMessageWriter` that can write a protobuf `Message` and adds `X-Protobuf-Schema`, `X-Protobuf-Message` headers and a `delimited=true` parameter is added to the content type if a flux is serialized.
ProtobufJsonDecoder
A `Decoder` that reads a JSON byte stream and converts it to Google Protocol Buffers `Message`s.
ProtobufJsonEncoder
A `Encoder` that writes `Message`s as JSON.