public interface Response
HttpResponse
or a RpcResponse
.Modifier and Type | Method and Description |
---|---|
default CompletableFuture<?> |
closeFuture()
Deprecated.
Use
completionFuture() instead. |
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()
instead.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 2015–2017 LINE Corporation. All rights reserved.