Package io.helidon.grpc.core
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 defaultMarshallerSupplier
.
-
-
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 DefaultMarshallerSupplier()
-
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
-
-