ToXContent
, ToXContentObject
BulkItemResponse
, BulkResponse
, ClearScrollResponse
, ClusterHealthResponse
, DeleteResponse
, DocWriteResponse
, GetPipelineResponse
, IndexResponse
, SearchResponse
, UpdateResponse
public interface StatusToXContentObject extends ToXContentObject
RestStatus
for their response. Usually should be
implemented by top level responses sent back to users from REST endpoints.ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method | Description |
---|---|---|
RestStatus |
status() |
Returns the REST status to make sure it is returned correctly
|
toXContent
isFragment
RestStatus status()