Module io.helidon.grpc.core
Package io.helidon.grpc.core
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
AMarshallerSupplierimplementation that supplies Protocol Buffer marshaller instances.
-
-
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 ProtoMarshallerSupplier()
-
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.Marshallerfor a type.
-
-
-
Method Detail
-
get
public <T> io.grpc.MethodDescriptor.Marshaller<T> get(Class<T> clazz)
Description copied from interface:MarshallerSupplierObtain aMethodDescriptor.Marshallerfor a type.- Specified by:
getin interfaceMarshallerSupplier- Type Parameters:
T- the type to be marshalled- Parameters:
clazz- theClassof the type to obtain theMethodDescriptor.Marshallerfor- Returns:
- a
MethodDescriptor.Marshallerfor a type
-
-