Package io.servicetalk.serialization.api
Interface StreamingSerializer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
A contract capable of serializing a stream of
Object
s into a stream of Buffer
s.
This interface is designed to be used as a function that can convert an Object
into a Buffer
.
serialize(Object, Buffer)
maybe called multiple times.
A StreamingSerializer
implementation may chose to be stateful or stateless. This contract does not assume
either.
Implementations are assumed to be synchronous.
-
Method Summary
-
Method Details
-
serialize
Deprecated.UseStreamingSerializer
.
-
StreamingSerializer
.