
com.groupbyinc.flux.rest.action.fieldstats.RestFieldStatsAction.class Maven / Gradle / Ivy
???? 3 ? ?com/groupbyinc/flux/rest/action/fieldstats/RestFieldStatsAction (com/groupbyinc/flux/rest/BaseRestHandler RestFieldStatsAction.java Acom/groupbyinc/flux/rest/action/fieldstats/RestFieldStatsAction$1 +com/groupbyinc/flux/rest/RestRequest$Method $com/groupbyinc/flux/rest/RestRequest
Method }(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/client/Client;)V *Lcom/groupbyinc/flux/common/inject/Inject;
GET -Lcom/groupbyinc/flux/rest/RestRequest$Method;
/_field_stats 'com/groupbyinc/flux/rest/RestController registerHandler h(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V
POST /{index}/_field_stats ! this ALcom/groupbyinc/flux/rest/action/fieldstats/RestFieldStatsAction; settings .Lcom/groupbyinc/flux/common/settings/Settings;
controller )Lcom/groupbyinc/flux/rest/RestController; client #Lcom/groupbyinc/flux/client/Client;
handleRequest r(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/client/Client;)V java/lang/Exception - 3com/groupbyinc/flux/rest/action/support/RestActions / hasBodyContent )(Lcom/groupbyinc/flux/rest/RestRequest;)Z 1 2
0 3 fields 5 hasParam (Ljava/lang/String;)Z 7 8
9 "java/lang/IllegalArgumentException ; |can't specify a request body and [fields] request parameter, either specify a request body or the [fields] request parameter = (Ljava/lang/String;)V
?
<