Uses of Interface
io.vertx.grpc.common.GrpcMessageDecoder
-
Packages that use GrpcMessageDecoder Package Description io.vertx.grpc.common -
-
Uses of GrpcMessageDecoder in io.vertx.grpc.common
Fields in io.vertx.grpc.common declared as GrpcMessageDecoder Modifier and Type Field Description static GrpcMessageDecoder<Buffer>GrpcMessageDecoder. IDENTITYstatic GrpcMessageDecoder<JsonObject>GrpcMessageDecoder. JSON_OBJECTA decoder in JSON format decoding to instances ofJsonObject.static GrpcMessageDecoder<Object>GrpcMessageDecoder. JSON_VALUEA decoder in JSON format decoding arbitrary JSON values:JsonObject,JsonArrayor string/number/boolean/nullMethods in io.vertx.grpc.common that return GrpcMessageDecoder Modifier and Type Method Description static <T> GrpcMessageDecoder<T>GrpcMessageDecoder. decoder(com.google.protobuf.MessageOrBuilder messageOrBuilder)Create a decoder for a given protobufParser.GrpcMessageDecoder<I>ServiceMethod. decoder()static <T> GrpcMessageDecoder<T>GrpcMessageDecoder. json(Class<T> clazz)Create a decoder in JSON format decoding to instances of theclazzusingJson.decodeValue(Buffer, Class)(Jackson Databind is required).static <T> GrpcMessageDecoder<T>GrpcMessageDecoder. json(Supplier<com.google.protobuf.Message.Builder> builder)Create a decoder for a given protobufParser.Methods in io.vertx.grpc.common with parameters of type GrpcMessageDecoder Modifier and Type Method Description static <Req,Resp>
ServiceMethod<Resp,Req>ServiceMethod. client(ServiceName serviceName, String methodName, GrpcMessageEncoder<Req> encoder, GrpcMessageDecoder<Resp> decoder)static <Req,Resp>
ServiceMethod<Req,Resp>ServiceMethod. server(ServiceName serviceName, String methodName, GrpcMessageEncoder<Resp> encoder, GrpcMessageDecoder<Req> decoder)
-