MethodDescriptor. Compression is configured per route.
gRPC framing is internalized in the gRPC implementation.@Deprecated
public interface GrpcSerializationProvider
| Modifier and Type | Method and Description |
|---|---|
<T> HttpDeserializer<T> |
deserializerFor(ContentCodec coding,
Class<T> type)
Deprecated.
Get a
HttpDeserializer for a Class of type T. |
<T> HttpSerializer<T> |
serializerFor(ContentCodec coding,
Class<T> type)
Deprecated.
Get a
HttpSerializer for a Class of type T. |
List<ContentCodec> |
supportedMessageCodings()
Deprecated.
Supported
ContentCodecs for this GrpcSerializationProvider. |
List<ContentCodec> supportedMessageCodings()
ContentCodecs for this GrpcSerializationProvider.
Content codings will be used to encoded and decode gRPC messages according to configuration of client and server.ContentCodecs for this GrpcSerializationProvider<T> HttpSerializer<T> serializerFor(ContentCodec coding,
Class<T> type)
HttpSerializer for a Class of type T.T - The type of object to serialize.coding - ContentCodec for the serializer.type - The Class type that the returned HttpSerializer can serialize.HttpSerializer for a Class of type T.<T> HttpDeserializer<T> deserializerFor(ContentCodec coding,
Class<T> type)
HttpDeserializer for a Class of type T.T - The type of object to deserialize.coding - ContentCodec for the deserializer.type - The Class type that the return value will deserialize.HttpDeserializer for a Class of type T.