Interface ChunkedResponse<H extends ChunkHeader,​R extends ChunkRow,​T extends ChunkTrailer>

Type Parameters:
H - the type of the chunk header.
R - the type of the chunk row.
T - the type of the chunk trailer.
All Superinterfaces:
Response
All Known Implementing Classes:
AnalyticsResponse, QueryResponse, SearchResponse, ViewResponse

public interface ChunkedResponse<H extends ChunkHeader,​R extends ChunkRow,​T extends ChunkTrailer>
extends Response
Describes a full chunked response with its required sections.
  • Method Summary

    Modifier and Type Method Description
    H header()
    Returns the header for this response, immediately available.
    Flux<R> rows()
    Returns the rows for this response, available pushed as they come streaming in.
    Mono<T> trailer()
    Returns the trailer for this response, available at the end of the response eventually.

    Methods inherited from interface com.couchbase.client.core.msg.Response

    status
  • Method Details

    • header

      H header()
      Returns the header for this response, immediately available.
    • rows

      Flux<R> rows()
      Returns the rows for this response, available pushed as they come streaming in.
    • trailer

      Mono<T> trailer()
      Returns the trailer for this response, available at the end of the response eventually.