Interface ChunkedToXContent

All Superinterfaces:
ToXContent
All Known Implementing Classes:
BaseNodesXContentResponse, FieldCapabilitiesResponse, GetMappingsResponse, GetSnapshotsResponse, IndicesSegmentResponse, NodesStatsResponse, RecoveryResponse

public interface ChunkedToXContent extends ToXContent
An extension of ToXContent that can be serialized in chunks by creating an Iterator<ToXContent>. This is used by the REST layer to implement flow control that does not rely on blocking the serializing thread when writing the serialized bytes to a non-blocking channel.