Class JsonbMarshaller.Supplier

java.lang.Object
io.helidon.grpc.core.JsonbMarshaller.Supplier
All Implemented Interfaces:
MarshallerSupplier
Enclosing class:
JsonbMarshaller<T>

@Named("jsonb") public static class JsonbMarshaller.Supplier extends Object implements MarshallerSupplier
A MarshallerSupplier implementation that supplies instances of JsonbMarshaller.
  • Constructor Details

    • Supplier

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