Class GrpcClientRequestProvider
java.lang.Object
io.vertx.reactivex.grpc.client.GrpcClientRequestProvider
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
A contract for issuing gRPC client requests by service method, without requiring
a specific transport or server address.
Generated gRPC client stubs use this interface as their underlying transport abstraction,
allowing them to work with any implementation - HTTP/2 via GrpcClient, event bus, etc.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<GrpcClientRequestProvider> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static GrpcClientRequestProvider<Req,Resp> Future <GrpcClientRequest<Req, Resp>> request(ServiceMethod<Resp, Req> method) Create a request for the given service method.<Req,Resp> Single <GrpcClientRequest<Req, Resp>> rxRequest(ServiceMethod<Resp, Req> method) Create a request for the given service method.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GrpcClientRequestProvider
-
GrpcClientRequestProvider
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
request
Create a request for the given service method.- Parameters:
method- the gRPC service method- Returns:
- a future request
-
rxRequest
Create a request for the given service method.- Parameters:
method- the gRPC service method- Returns:
- a future request
-
newInstance
-