Uses of Interface
io.vertx.grpc.common.GrpcMessageDecoder
Packages that use GrpcMessageDecoder
-
Uses of GrpcMessageDecoder in io.vertx.grpc.common
Fields in io.vertx.grpc.common declared as GrpcMessageDecoderModifier and TypeFieldDescriptionstatic final GrpcMessageDecoder<Buffer> GrpcMessageDecoder.IDENTITYstatic final GrpcMessageDecoder<JsonObject> GrpcMessageDecoder.JSON_OBJECTA decoder in JSON format decoding to instances ofJsonObject.static final 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 GrpcMessageDecoderModifier and TypeMethodDescriptionstatic <T> GrpcMessageDecoder<T> GrpcMessageDecoder.decoder(com.google.protobuf.MessageOrBuilder messageOrBuilder) Create a decoder for a given protobufParser.ServiceMethod.decoder()static <T> GrpcMessageDecoder<T> Create a decoder in JSON format decoding to instances of theclazzusingJson.decodeValue(Buffer, Class)(Jackson Databind is required).static <T> GrpcMessageDecoder<T> Create a decoder for a given protobufParser.Methods in io.vertx.grpc.common with parameters of type GrpcMessageDecoderModifier and TypeMethodDescriptionstatic <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)