Class MarshallerSupplier.DefaultMarshallerSupplier

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

@Named("default") public static class MarshallerSupplier.DefaultMarshallerSupplier extends Object implements MarshallerSupplier
The default MarshallerSupplier.
  • Constructor Details

    • DefaultMarshallerSupplier

      public DefaultMarshallerSupplier()
  • 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