Package io.grpc
Interface MethodDescriptor.ReflectableMarshaller<T>
-
- All Superinterfaces:
MethodDescriptor.Marshaller<T>
- All Known Subinterfaces:
MethodDescriptor.PrototypeMarshaller<T>
- Enclosing class:
- MethodDescriptor<ReqT,RespT>
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2222") public static interface MethodDescriptor.ReflectableMarshaller<T> extends MethodDescriptor.Marshaller<T>
A marshaller that supports retrieving its type parameterT
at runtime.- Since:
- 1.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<T>
getMessageClass()
Returns theClass
that this marshaller serializes and deserializes.-
Methods inherited from interface io.grpc.MethodDescriptor.Marshaller
parse, stream
-
-