Class RestRefCountedChunkedToXContentListener<Response extends ChunkedToXContent & RefCounted>

java.lang.Object
org.elasticsearch.rest.action.RestActionListener<Response>
org.elasticsearch.rest.action.RestChunkedToXContentListener<Response>
org.elasticsearch.rest.action.RestRefCountedChunkedToXContentListener<Response>
All Implemented Interfaces:
ActionListener<Response>

public class RestRefCountedChunkedToXContentListener<Response extends ChunkedToXContent & RefCounted> extends RestChunkedToXContentListener<Response>
Same as RestChunkedToXContentListener but decrements the ref count on the response it receives by one after serialization of the response.