public interface Response
HttpResponse
or a RpcResponse
.Modifier and Type | Method and Description |
---|---|
default CompletableFuture<?> |
closeFuture()
Returns a
CompletableFuture which completes when
1) the response stream has been closed (the StreamMessage has been closed) or
2) the result value is set (the CompletionStage has completed.) |
default CompletableFuture<?> closeFuture()
CompletableFuture
which completes when
1) the response stream has been closed (the StreamMessage
has been closed) or
2) the result value is set (the CompletionStage
has completed.)© Copyright 2015–2017 LINE Corporation. All rights reserved.