public interface GrpcSerializationProvider
| Modifier and Type | Method and Description |
|---|---|
<T> HttpDeserializer<T> |
deserializerFor(GrpcMessageEncoding messageEncoding,
Class<T> type)
Get a
HttpDeserializer for a Class of type T. |
<T> HttpSerializer<T> |
serializerFor(GrpcMessageEncoding encoding,
Class<T> type)
Get a
HttpSerializer for a Class of type T. |
Set<GrpcMessageEncoding> |
supportedEncodings() |
Set<GrpcMessageEncoding> supportedEncodings()
<T> HttpSerializer<T> serializerFor(GrpcMessageEncoding encoding, Class<T> type)
HttpSerializer for a Class of type T.T - The type of object to serialize.encoding - GrpcMessageEncoding for the serializer.type - The Class type that the returned HttpSerializer can serialize.HttpSerializer for a Class of type T.<T> HttpDeserializer<T> deserializerFor(GrpcMessageEncoding messageEncoding, Class<T> type)
HttpDeserializer for a Class of type T.T - The type of object to deserialize.messageEncoding - GrpcMessageEncoding for the deserializer.type - The Class type that the return value will deserialize.HttpDeserializer for a Class of type T.