
com.groupbyinc.flux.rest.RestChannel.class Maven / Gradle / Ivy
???? 3 ? $com/groupbyinc/flux/rest/RestChannel java/lang/Object RestChannel.java Gcom/groupbyinc/flux/common/xcontent/XContentBuilder$FieldCaseConversion 3com/groupbyinc/flux/common/xcontent/XContentBuilder FieldCaseConversion DEPRECATION_LOGGER 6Lcom/groupbyinc/flux/common/logging/DeprecationLogger; request &Lcom/groupbyinc/flux/rest/RestRequest; detailedErrorsEnabled Z bytesOut 8Lcom/groupbyinc/flux/common/io/stream/BytesStreamOutput; *(Lcom/groupbyinc/flux/rest/RestRequest;Z)V ()V
this &Lcom/groupbyinc/flux/rest/RestChannel;
newBuilder 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; java/io/IOException $com/groupbyinc/flux/rest/RestRequest "
hasContent ()Z $ %
# & content 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; ( )
# * /com/groupbyinc/flux/common/bytes/BytesReference , filter_path . hasParam (Ljava/lang/String;)Z 0 1
# 2 i(Lcom/groupbyinc/flux/common/bytes/BytesReference;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 4
5 newErrorBuilder %Lcom/groupbyinc/flux/common/Nullable; format 9 Content-Type ; header &(Ljava/lang/String;)Ljava/lang/String; = >
# ? param 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; A B
# C 0com/groupbyinc/flux/common/xcontent/XContentType E fromRestContentType F(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentType; G H
F I 3com/groupbyinc/flux/common/xcontent/XContentFactory K xContentType e(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/xcontent/XContentType; M N
L O JSON 2Lcom/groupbyinc/flux/common/xcontent/XContentType; Q R F S paramAsStringArrayOrEmptyIfAll '(Ljava/lang/String;)[Ljava/lang/String; U V
# W [Ljava/lang/String; Y xContent b(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContent; [ \
L ] bytesOutput :()Lcom/groupbyinc/flux/common/io/stream/BytesStreamOutput; _ `
a Z(Lcom/groupbyinc/flux/common/xcontent/XContent;Ljava/io/OutputStream;[Ljava/lang/String;)V c
d pretty f paramAsBoolean (Ljava/lang/String;Z)Z h i
# j prettyPrint l
m lfAtEnd o
p human r
humanReadable t %
u 8(Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; t w
x case z A >
# | \Parameter 'case' has been deprecated, all responses will use underscore casing in the future ~ ? 4com/groupbyinc/flux/common/logging/DeprecationLogger ?
deprecated ((Ljava/lang/String;[Ljava/lang/Object;)V ? ?
? ? java/lang/String ? camelCase ? equals (Ljava/lang/Object;)Z ? ?
? ? CAMELCASE ILcom/groupbyinc/flux/common/xcontent/XContentBuilder$FieldCaseConversion; ? ? ? fieldCaseConversion ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder$FieldCaseConversion;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? NONE ? ? ? msg Ljava/lang/String; autoDetectSource 1Lcom/groupbyinc/flux/common/bytes/BytesReference; useFiltering contentType filters builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; casing ? newBytesOutput ? `
? 6com/groupbyinc/flux/common/io/stream/BytesStreamOutput ? reset ?
? ?
? (()Lcom/groupbyinc/flux/rest/RestRequest; sendResponse *(Lcom/groupbyinc/flux/rest/RestResponse;)V *com/groupbyinc/flux/common/logging/Loggers ? getLogger @(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/logging/ESLogger; ? ?
? ? 0(Lcom/groupbyinc/flux/common/logging/ESLogger;)V ?
? ? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions "RuntimeVisibleParameterAnnotations
SourceFile InnerClasses!
? Y *? *+? *? ? ?
? - . / 0 ? i #**? ? '?
*? ? +? *? /? 3? 6? ? # ? 3 ? U ? - ? ! 7 ? a **? ? '?
*? ? +? ? 6? ? ? 8 ? U ? - ? ! 4 ? ? ?*? :*?