Class RestToXContentListener<Response extends ToXContentObject>

All Implemented Interfaces:
ActionListener<Response>
Direct Known Subclasses:
RestStatusToXContentListener

public class RestToXContentListener<Response extends ToXContentObject> extends RestBuilderListener<Response>
A REST based action listener that requires the response to implement ToXContentObject and automatically builds an XContent based response.