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