- 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
AMarshallerSupplier
implementation that supplies instances ofJsonbMarshaller
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.grpc.core.MarshallerSupplier
MarshallerSupplier.DefaultMarshallerSupplier, MarshallerSupplier.ProtoMarshallerSupplier
-
-
Field Summary
-
Fields inherited from interface io.helidon.grpc.core.MarshallerSupplier
DEFAULT, PROTO
-
-
Constructor Summary
Constructors Constructor Description Supplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> io.grpc.MethodDescriptor.Marshaller<T>
get(Class<T> clazz)
Obtain aMethodDescriptor.Marshaller
for a type.
-
-
-
Method Detail
-
get
public <T> io.grpc.MethodDescriptor.Marshaller<T> get(Class<T> clazz)
Description copied from interface:MarshallerSupplier
Obtain aMethodDescriptor.Marshaller
for a type.- Specified by:
get
in interfaceMarshallerSupplier
- Type Parameters:
T
- the type to be marshalled- Parameters:
clazz
- theClass
of the type to obtain theMethodDescriptor.Marshaller
for- Returns:
- a
MethodDescriptor.Marshaller
for a type
-
-