public interface Response
HttpResponse or an RpcResponse.| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<?> |
closeFuture()
Deprecated.
Use
completionFuture(). |
default CompletableFuture<?> |
completionFuture()
Returns a
CompletableFuture which completes when
1) the response stream has been closed (the StreamMessage has been completed) or
2) the result value is set (the CompletionStage has completed.) |
@Deprecated default CompletableFuture<?> closeFuture()
completionFuture().CompletableFuture which completes when
1) the response stream has been closed (the StreamMessage has been completed) or
2) the result value is set (the CompletionStage has completed.)default CompletableFuture<?> completionFuture()
CompletableFuture which completes when
1) the response stream has been closed (the StreamMessage has been completed) or
2) the result value is set (the CompletionStage has completed.)Copyright © 2020 LeanCloud. All rights reserved.