Class ViewResponse
- java.lang.Object
-
- com.couchbase.client.core.msg.BaseResponse
-
- com.couchbase.client.core.msg.view.ViewResponse
-
- All Implemented Interfaces:
ChunkedResponse<ViewChunkHeader,ViewChunkRow,ViewChunkTrailer>
,Response
public class ViewResponse extends BaseResponse implements ChunkedResponse<ViewChunkHeader,ViewChunkRow,ViewChunkTrailer>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewChunkHeader
header()
Returns the header for this response, immediately available.Flux<ViewChunkRow>
rows()
Returns the rows for this response, available pushed as they come streaming in.String
toString()
Mono<ViewChunkTrailer>
trailer()
Returns the trailer for this response, available at the end of the response eventually.-
Methods inherited from class com.couchbase.client.core.msg.BaseResponse
status
-
-
-
-
Method Detail
-
header
public ViewChunkHeader header()
Description copied from interface:ChunkedResponse
Returns the header for this response, immediately available.- Specified by:
header
in interfaceChunkedResponse<ViewChunkHeader,ViewChunkRow,ViewChunkTrailer>
-
rows
public Flux<ViewChunkRow> rows()
Description copied from interface:ChunkedResponse
Returns the rows for this response, available pushed as they come streaming in.- Specified by:
rows
in interfaceChunkedResponse<ViewChunkHeader,ViewChunkRow,ViewChunkTrailer>
-
trailer
public Mono<ViewChunkTrailer> trailer()
Description copied from interface:ChunkedResponse
Returns the trailer for this response, available at the end of the response eventually.- Specified by:
trailer
in interfaceChunkedResponse<ViewChunkHeader,ViewChunkRow,ViewChunkTrailer>
-
toString
public String toString()
- Overrides:
toString
in classBaseResponse
-
-