| 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 | |
| RestBuilderListener<Response> |
A REST action listener that builds an
XContentBuilder based response. |
| 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 StatusToXContent> | |
| RestTable | |
| RestToXContentListener<Response extends ToXContent> |
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). |
Copyright © 2009–2017. All rights reserved.