Package io.servicetalk.grpc.api
Interface GrpcSerializationProvider
Deprecated.
A provider for gRPC serialization/deserialization.
-
Method Summary
Modifier and TypeMethodDescription<T> HttpDeserializer<T>deserializerFor(ContentCodec coding, Class<T> type) Deprecated.<T> HttpSerializer<T>serializerFor(ContentCodec coding, Class<T> type) Deprecated.Deprecated.SupportedContentCodecs for thisGrpcSerializationProvider.
-
Method Details
-
supportedMessageCodings
List<ContentCodec> supportedMessageCodings()Deprecated.SupportedContentCodecs for thisGrpcSerializationProvider. Content codings will be used to encoded and decode gRPC messages according to configuration of client and server.- Returns:
- supported
ContentCodecs for thisGrpcSerializationProvider
-
serializerFor
Deprecated.- Type Parameters:
T- The type of object to serialize.- Parameters:
coding-ContentCodecfor the serializer.type- TheClasstype that the returnedHttpSerializercan serialize.- Returns:
- a
HttpSerializerfor aClassof typeGrpcSerializationProvider.
-
deserializerFor
Deprecated.- Type Parameters:
T- The type of object to deserialize.- Parameters:
coding-ContentCodecfor the deserializer.type- TheClasstype that the return value will deserialize.- Returns:
- a
HttpDeserializerfor aClassof typeGrpcSerializationProvider.
-
MethodDescriptor. Compression is configured per route. gRPC framing is internalized in the gRPC implementation.