- All Known Implementing Classes:
JsonbMarshaller.Supplier
,MarshallerSupplier.DefaultMarshallerSupplier
,MarshallerSupplier.ProtoMarshallerSupplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A supplier of
MethodDescriptor.Marshaller
instances for specific
classes.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
The defaultMarshallerSupplier
.static class
AMarshallerSupplier
implementation that supplies Protocol Buffer marshaller instances. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MarshallerSupplier
Obtain the default marshaller.<T> io.grpc.MethodDescriptor.Marshaller<T>
Obtain aMethodDescriptor.Marshaller
for a type.
-
Field Details
-
PROTO
The name of the Protocol Buffer marshaller supplier.- See Also:
-
DEFAULT
The name to use to specify the default marshaller supplier.- See Also:
-
-
Method Details
-
get
Obtain aMethodDescriptor.Marshaller
for a type.- 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
-
defaultInstance
Obtain the default marshaller.- Returns:
- the default marshaller
-