# Uses of Interface
org.springframework.http.codec.HttpMessageEncoder

Packages that use HttpMessageEncoder
Package
Description
org.springframework.http.codec.cbor
CBOR encoder and decoder support.
org.springframework.http.codec.json
JSON encoder and decoder support.
org.springframework.http.codec.protobuf
Provides an encoder and a decoder for Google Protocol Buffers.

## Uses of HttpMessageEncoder in org.springframework.http.codec.cbor

Classes in org.springframework.http.codec.cbor that implement HttpMessageEncoder
Modifier and Type
Class
Description
`class`
`Jackson2CborEncoder`
Encode from an `Object` to bytes of CBOR objects using Jackson.

## Uses of HttpMessageEncoder in org.springframework.http.codec.json

Classes in org.springframework.http.codec.json that implement HttpMessageEncoder
Modifier and Type
Class
Description
`class`
`AbstractJackson2Encoder`
Base class providing support methods for Jackson 2.x encoding.
`class`
`Jackson2JsonEncoder`
Encode from an `Object` stream to a byte stream of JSON objects using Jackson 2.x.
`class`
`Jackson2SmileEncoder`
Encode from an `Object` stream to a byte stream of Smile objects using Jackson 2.x.

## Uses of HttpMessageEncoder in org.springframework.http.codec.protobuf

Classes in org.springframework.http.codec.protobuf that implement HttpMessageEncoder
Modifier and Type
Class
Description
`class`
`ProtobufEncoder`
An `Encoder` that writes `Message`s using Google Protocol Buffers.
`class`
`ProtobufJsonEncoder`
A `Encoder` that writes `Message`s as JSON.