- java.lang.Object
-
- io.helidon.grpc.core.JsonbMarshaller<T>
-
- Type Parameters:
T- the type of value to be marshalled
- All Implemented Interfaces:
io.grpc.MethodDescriptor.Marshaller<T>
public class JsonbMarshaller<T> extends Object implements io.grpc.MethodDescriptor.Marshaller<T>
An implementation of a gRPCMethodDescriptor.Marshallerthat uses JSONB for serialization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonbMarshaller.SupplierAMarshallerSupplierimplementation that supplies instances ofJsonbMarshaller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tparse(InputStream in)InputStreamstream(T obj)
-
-
-
Method Detail
-
stream
public InputStream stream(T obj)
- Specified by:
streamin interfaceio.grpc.MethodDescriptor.Marshaller<T>
-
parse
public T parse(InputStream in)
- Specified by:
parsein interfaceio.grpc.MethodDescriptor.Marshaller<T>
-
-