| Package | Description |
|---|---|
| io.vertx.grpc.client | |
| io.vertx.grpcio.client |
| Modifier and Type | Method and Description |
|---|---|
GrpcClientRequest<Req,Resp> |
GrpcClientRequest.drainHandler(Handler<Void> handler) |
GrpcClientRequest<Req,Resp> |
GrpcClientRequest.encoding(String encoding) |
GrpcClientRequest<Req,Resp> |
GrpcClientRequest.exceptionHandler(Handler<Throwable> handler) |
GrpcClientRequest<Req,Resp> |
GrpcClientRequest.fullMethodName(String fullMethodName)
Set the full method name to call, it must follow the format
package-name + '.' + service-name + '/' + method-name
or an IllegalArgumentException is thrown. |
GrpcClientRequest<Req,Resp> |
GrpcClientRequest.idleTimeout(long timeout)
Sets the amount of time after which, if the request does not return any data within the timeout period,
the request/response is cancelled and the related futures.
|
GrpcClientRequest<Req,Resp> |
GrpcClientRequest.methodName(String methodName)
Set the method name to call.
|
GrpcClientRequest<Req,Resp> |
GrpcClientRequest.serviceName(ServiceName serviceName)
Set the service name to call.
|
GrpcClientRequest<Req,Resp> |
GrpcClientRequest.setWriteQueueMaxSize(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
Future<GrpcClientRequest<Buffer,Buffer>> |
GrpcClient.request(io.vertx.core.net.SocketAddress server)
Connect to the remote
server and create a request for any hosted gRPC service. |
<Req,Resp> Future<GrpcClientRequest<Req,Resp>> |
GrpcClient.request(io.vertx.core.net.SocketAddress server,
io.grpc.MethodDescriptor<Req,Resp> service)
Deprecated.
|
<Req,Resp> Future<GrpcClientRequest<Req,Resp>> |
GrpcClient.request(io.vertx.core.net.SocketAddress server,
ServiceMethod<Resp,Req> method)
Connect to the remote
server and create a request for any hosted gRPC service. |
| Modifier and Type | Method and Description |
|---|---|
default <Req,Resp,T> |
GrpcClient.call(io.vertx.core.net.SocketAddress server,
io.grpc.MethodDescriptor<Req,Resp> service,
Handler<GrpcClientRequest<Req,Resp>> requestHandler,
Function<GrpcClientResponse<Req,Resp>,Future<T>> resultFn)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
default <Req,Resp,T> |
GrpcIoClient.call(io.vertx.core.net.SocketAddress server,
io.grpc.MethodDescriptor<Req,Resp> service,
Handler<GrpcClientRequest<Req,Resp>> requestHandler,
Function<GrpcClientResponse<Req,Resp>,Future<T>> resultFn)
Call the
service gRPC service hosted by server. |
Copyright © 2026 Eclipse. All rights reserved.