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 TypeMethodDescriptionheader()Returns the header for this response, immediately available.reactor.core.publisher.Flux<R> rows()Returns the rows for this response, available pushed as they come streaming in.reactor.core.publisher.Mono<T> trailer()Returns the trailer for this response, available at the end of the response eventually.
-
Method Details
-
header
H header()Returns the header for this response, immediately available. -
rows
reactor.core.publisher.Flux<R> rows()Returns the rows for this response, available pushed as they come streaming in. -
trailer
reactor.core.publisher.Mono<T> trailer()Returns the trailer for this response, available at the end of the response eventually.
-