ProxyBase.continueWithResult(int interfaceId, int methodId, CompletableFuture<Object> future) 方法

定义

Called by the generated proxy class to get the result from the response body.

protected <T> CompletableFuture<T> continueWithResult(int interfaceId, int methodId, CompletableFuture<Object> future)

参数

interfaceId
int

Interface Id for the remoted interface.

methodId
int

Method Id for the remote method.

future
CompletableFuture<Object>

A CompletableFuture that represents the asynchronous operation for remote method call.

返回

<T> CompletableFuture<T>

A CompletableFuture that represents the asynchronous operation for remote method call.

适用于