Class MarshallerSupplier.ProtoMarshallerSupplier

java.lang.Object
io.helidon.grpc.core.MarshallerSupplier.ProtoMarshallerSupplier
All Implemented Interfaces:
MarshallerSupplier
Enclosing interface:
MarshallerSupplier

@Named("proto") public static class MarshallerSupplier.ProtoMarshallerSupplier extends Object implements MarshallerSupplier
A MarshallerSupplier implementation that supplies Protocol Buffer marshaller instances.
  • Constructor Details

    • ProtoMarshallerSupplier

      public ProtoMarshallerSupplier()
  • Method Details

    • 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