Uses of Interface
io.vertx.grpc.common.GrpcMessageEncoder
-
Packages that use GrpcMessageEncoder Package Description io.vertx.grpc.common -
-
Uses of GrpcMessageEncoder in io.vertx.grpc.common
Fields in io.vertx.grpc.common declared as GrpcMessageEncoder Modifier and Type Field Description static GrpcMessageEncoder<Buffer>GrpcMessageEncoder. IDENTITYstatic GrpcMessageEncoder<JsonObject>GrpcMessageEncoder. JSON_OBJECTAn encoder in JSON format encodingJsonObjectinstances.Methods in io.vertx.grpc.common that return GrpcMessageEncoder Modifier and Type Method Description static <T extends com.google.protobuf.MessageLite>
GrpcMessageEncoder<T>GrpcMessageEncoder. encoder()Create an encoder for arbitrary message extendingMessageLite.GrpcMessageEncoder<O>ServiceMethod. encoder()static <T> GrpcMessageEncoder<T>GrpcMessageEncoder. json()Create and reutrn an encoder in JSON format encoding instances ofMessageOrBuilderusing the protobuf-java-util library otherwise usingJson.encodeToBuffer(Object)(Jackson Databind is required).Methods in io.vertx.grpc.common with parameters of type GrpcMessageEncoder 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)
-