public interface StreamResponse<ResponseType extends EventStreamJsonMessage,StreamRequestType extends EventStreamJsonMessage> extends StreamEventPublisher<StreamRequestType>
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
getRequestFlushFuture()
Completable future indicating flush of the request that initiated the stream operation
|
CompletableFuture<ResponseType> |
getResponse()
Completable future for retrieving the initial-response of the stream operation
|
boolean |
isClosed()
Tests if the stream is closed
|
closeStream, sendStreamEventCompletableFuture<Void> getRequestFlushFuture()
CompletableFuture<ResponseType> getResponse()
boolean isClosed()
Copyright ? 2021. All rights reserved.