Uses of Interface
io.vertx.grpc.common.GrpcMessageEncoder
Packages that use GrpcMessageEncoder
-
Uses of GrpcMessageEncoder in io.vertx.grpc.common
Fields in io.vertx.grpc.common declared as GrpcMessageEncoderModifier and TypeFieldDescriptionstatic final GrpcMessageEncoder<Buffer> GrpcMessageEncoder.IDENTITYstatic final GrpcMessageEncoder<JsonObject> GrpcMessageEncoder.JSON_OBJECTAn encoder in JSON format encodingJsonObjectinstances.Methods in io.vertx.grpc.common that return GrpcMessageEncoderModifier and TypeMethodDescriptionstatic <T extends com.google.protobuf.MessageLite>
GrpcMessageEncoder<T> GrpcMessageEncoder.encoder()Create an encoder for arbitrary message extendingMessageLite.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 GrpcMessageEncoderModifier 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)