
com.groupbyinc.flux.rest.action.get.RestGetSourceAction.class Maven / Gradle / Ivy
???? 3 ? 7com/groupbyinc/flux/rest/action/get/RestGetSourceAction (com/groupbyinc/flux/rest/BaseRestHandler RestGetSourceAction.java 9com/groupbyinc/flux/rest/action/get/RestGetSourceAction$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; /{index}/{type}/{id}/_source 'com/groupbyinc/flux/rest/RestController registerHandler h(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V
this 9Lcom/groupbyinc/flux/rest/action/get/RestGetSourceAction; 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/io/IOException ( )com/groupbyinc/flux/action/get/GetRequest * index , param &(Ljava/lang/String;)Ljava/lang/String; . /
0 type 2 id 4 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6
+ 7 operationThreaded G(Z)Lcom/groupbyinc/flux/action/support/single/shard/SingleShardRequest; 9 :
+ ; refresh = ()Z = ?
+ @ paramAsBoolean (Ljava/lang/String;Z)Z B C
D .(Z)Lcom/groupbyinc/flux/action/get/GetRequest; = F
+ G routing I ?(Ljava/lang/String;)Lcom/groupbyinc/flux/action/get/GetRequest; I K
+ L parent N N K
+ P
preference R R K
+ T realtime V :(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean; B X
Y @(Ljava/lang/Boolean;)Lcom/groupbyinc/flux/action/get/GetRequest; V [
+ \ :com/groupbyinc/flux/search/fetch/source/FetchSourceContext ^ parseFromRestRequest d(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/search/fetch/source/FetchSourceContext; ` a
_ b fetchSourceContext i(Lcom/groupbyinc/flux/search/fetch/source/FetchSourceContext;)Lcom/groupbyinc/flux/action/get/GetRequest; d e
+ f >()Lcom/groupbyinc/flux/search/fetch/source/FetchSourceContext; d h
+ i fetchSource k ?
_ l ;com/groupbyinc/flux/action/ActionRequestValidationException n ()V
p
o q #fetching source can not be disabled s addValidationError (Ljava/lang/String;)V u v
o w *com/groupbyinc/flux/rest/BytesRestResponse y >(Lcom/groupbyinc/flux/rest/RestChannel;Ljava/lang/Throwable;)V
{
z | $com/groupbyinc/flux/rest/RestChannel ~ sendResponse *(Lcom/groupbyinc/flux/rest/RestResponse;)V ? ?
? !com/groupbyinc/flux/client/Client ? logger -Lcom/groupbyinc/flux/common/logging/ESLogger; ? ? ? Failed to send failure response ? java/lang/Object ? +com/groupbyinc/flux/common/logging/ESLogger ? error =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ? ? ? ? b(Lcom/groupbyinc/flux/rest/action/get/RestGetSourceAction;Lcom/groupbyinc/flux/rest/RestChannel;)V
?
? get Y(Lcom/groupbyinc/flux/action/get/GetRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ? ? ? ? validationError =Lcom/groupbyinc/flux/action/ActionRequestValidationException; e Ljava/io/IOException; request &Lcom/groupbyinc/flux/rest/RestRequest; channel &Lcom/groupbyinc/flux/rest/RestChannel;
getRequest +Lcom/groupbyinc/flux/action/get/GetRequest; Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations
StackMapTable
SourceFile InnerClasses !
? b *+,-? ,? *? ? ? * ! " # $ % ? . / 0 ? &