Interface StreamResponse<ResponseType extends EventStreamJsonMessage,​StreamRequestType extends EventStreamJsonMessage>

    • Method Detail

      • getRequestFlushFuture

        CompletableFuture<Void> getRequestFlushFuture()
        Completable future indicating flush of the request that initiated the stream operation
        Returns:
        Completable future indicating flush of the request that initiated the stream operation
      • getResponse

        CompletableFuture<ResponseType> getResponse()
        Completable future for retrieving the initial-response of the stream operation
        Returns:
        Completable future for retrieving the initial-response of the stream operation
      • isClosed

        boolean isClosed()
        Tests if the stream is closed
        Returns:
        True if the stream is closed