Uses of Class
org.elasticsearch.rest.action.RestActionListener
-
Packages that use RestActionListener Package Description org.elasticsearch.rest.action -
-
Uses of RestActionListener in org.elasticsearch.rest.action
Subclasses of RestActionListener in org.elasticsearch.rest.action Modifier and Type Class Description static classRestActions.NodesResponseRestListener<NodesResponse extends BaseNodesResponse & ToXContent>NodesResponseRestBuilderListenerautomatically translates anyBaseNodesResponse(multi-node) response that isToXContent-compatible into aRestResponsewith the necessary header info (e.g., "cluster_name").classRestBuilderListener<Response>A REST action listener that builds anXContentBuilderbased response.classRestResponseListener<Response>A REST enabled action listener that has a basic onFailure implementation, and requires sub classes to only implementRestResponseListener.buildResponse(Object).classRestStatusToXContentListener<Response extends StatusToXContentObject>Content listener that extracts thatRestStatusfrom the response.classRestToXContentListener<Response extends ToXContentObject>A REST based action listener that assumes the response is of typeToXContentand automatically builds an XContent based response (wrapping the toXContent in startObject/endObject).
-