Class MarshallerSupplier.DefaultMarshallerSupplier

    • Constructor Detail

      • DefaultMarshallerSupplier

        public DefaultMarshallerSupplier()
    • Method Detail

      • get

        public <T> io.grpc.MethodDescriptor.Marshaller<T> get​(Class<T> clazz)
        Description copied from interface: MarshallerSupplier
        Obtain a MethodDescriptor.Marshaller for a type.
        Specified by:
        get in interface MarshallerSupplier
        Type Parameters:
        T - the type to be marshalled
        Parameters:
        clazz - the Class of the type to obtain the MethodDescriptor.Marshaller for
        Returns:
        a MethodDescriptor.Marshaller for a type