T - The type being serialized.public interface SerializerDescriptor<T>
ParameterDescriptor.| Modifier and Type | Method and Description |
|---|---|
ToIntFunction<T> |
bytesEstimator()
Get a function used to estimate the serialized size (in bytes) of each object.
|
CharSequence |
contentType()
Get the suffix to application/grpc which described the
Content-Type for the
serialization.
|
SerializerDeserializer<T> |
serializer()
Get the
SerializerDeserializer used to serialize and deserialize each object. |
CharSequence contentType()
SerializerDeserializer<T> serializer()
SerializerDeserializer used to serialize and deserialize each object.SerializerDeserializer used to serialize and deserialize each object.ToIntFunction<T> bytesEstimator()