RestHandler
s that translate requests from REST into internal requests and start them then wait for them to
complete and then translate them back into REST.See: Description
Class | Description |
---|---|
AcknowledgedRestListener<T extends AcknowledgedResponse> | |
RestActionListener<Response> |
An action listener that requires
RestActionListener.processResponse(Object) to be implemented
and will automatically handle failures. |
RestActions | |
RestActions.NodesResponseRestListener<NodesResponse extends BaseNodesResponse & ToXContent> |
NodesResponseRestBuilderListener automatically translates any BaseNodesResponse (multi-node) response that is
ToXContent -compatible into a RestResponse with the necessary header info (e.g., "cluster_name"). |
RestBuilderListener<Response> |
A REST action listener that builds an
XContentBuilder based response. |
RestFieldCapabilitiesAction | |
RestFieldStatsAction | |
RestMainAction | |
RestResponseListener<Response> |
A REST enabled action listener that has a basic onFailure implementation, and requires
sub classes to only implement
RestResponseListener.buildResponse(Object) . |
RestStatusToXContentListener<Response extends StatusToXContentObject> |
Content listener that extracts that
RestStatus from the response. |
RestToXContentListener<Response extends ToXContentObject> |
A REST based action listener that assumes the response is of type
ToXContent and automatically
builds an XContent based response (wrapping the toXContent in startObject/endObject). |
RestHandler
s that translate requests from REST into internal requests and start them then wait for them to
complete and then translate them back into REST. And some classes to support them.