call
EXPERIMENTAL API: Invoke a service method with input and wait for the response.
// Call with method reference and input
Response<GreetingResponse> response = client.service(Greeter.class)
.call(Greeter::greet, new Greeting("Alice"));
Content copied to clipboard
Return
a Response wrapping the result
Parameters
s
method reference (e.g., Greeter::greet)
input
the input parameter to pass to the method
@ApiStatus.Experimental
@ApiStatus.Experimental
@ApiStatus.Experimental
@ApiStatus.Experimental
@ApiStatus.Experimental
@ApiStatus.Experimental