java.lang.Object
org.elasticsearch.rest.RestContentAggregator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaggregate(RestRequest restRequest, Consumer<RestRequest> resultConsumer) Aggregates content of the RestRequest and notifies consumer with updated, in-place, RestRequest.
-
Constructor Details
-
RestContentAggregator
public RestContentAggregator()
-
-
Method Details
-
aggregate
Aggregates content of the RestRequest and notifies consumer with updated, in-place, RestRequest. If content is already aggregated then passes through same request.
-