Interface MarshallerSupplier

    • Method Detail

      • get

        <T> io.grpc.MethodDescriptor.Marshaller<T> get​(Class<T> clazz)
        Obtain a MethodDescriptor.Marshaller for a type.
        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
      • defaultInstance

        static MarshallerSupplier defaultInstance()
        Obtain the default marshaller.
        Returns:
        the default marshaller