
com.groupbyinc.flux.rest.BytesRestResponse.class Maven / Gradle / Ivy
???? 3 *com/groupbyinc/flux/rest/BytesRestResponse %com/groupbyinc/flux/rest/RestResponse BytesRestResponse.java 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params Bcom/groupbyinc/flux/common/xcontent/ToXContent$DelegatingMapParams DelegatingMapParams +com/groupbyinc/flux/rest/RestRequest$Method $com/groupbyinc/flux/rest/RestRequest Method TEXT_CONTENT_TYPE Ljava/lang/String; text/plain; charset=UTF-8 status %Lcom/groupbyinc/flux/rest/RestStatus; content 1Lcom/groupbyinc/flux/common/bytes/BytesReference; contentType SUPPRESSED_ERROR_LOGGER -Lcom/groupbyinc/flux/common/logging/ESLogger; ((Lcom/groupbyinc/flux/rest/RestStatus;)V +com/groupbyinc/flux/common/bytes/BytesArray EMPTY -Lcom/groupbyinc/flux/common/bytes/BytesArray; " # ! $ k(Lcom/groupbyinc/flux/rest/RestStatus;Ljava/lang/String;Lcom/groupbyinc/flux/common/bytes/BytesReference;)V &
' this ,Lcom/groupbyinc/flux/rest/BytesRestResponse; ](Lcom/groupbyinc/flux/rest/RestStatus;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V 3com/groupbyinc/flux/common/xcontent/XContentBuilder , 4()Lcom/groupbyinc/flux/common/xcontent/XContentType; .
- / 0com/groupbyinc/flux/common/xcontent/XContentType 1 restContentType ()Ljava/lang/String; 3 4
2 5 bytes 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; 7 8
- 9 builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; :(Lcom/groupbyinc/flux/rest/RestStatus;Ljava/lang/String;)V (Ljava/lang/String;)V >
! ? L(Lcom/groupbyinc/flux/rest/RestStatus;Ljava/lang/String;Ljava/lang/String;)V <(Lcom/groupbyinc/flux/rest/RestStatus;Ljava/lang/String;[B)V ([B)V C
! D [B ()V G
H J L N >(Lcom/groupbyinc/flux/rest/RestChannel;Ljava/lang/Throwable;)V java/io/IOException Q $com/groupbyinc/flux/ExceptionsHelper S <(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/rest/RestStatus; U
T V c(Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/rest/RestStatus;Ljava/lang/Throwable;)V X
Y channel &Lcom/groupbyinc/flux/rest/RestChannel; t Ljava/lang/Throwable; $com/groupbyinc/flux/rest/RestChannel _ request (()Lcom/groupbyinc/flux/rest/RestRequest; a b
` c method /()Lcom/groupbyinc/flux/rest/RestRequest$Method; e f
g HEAD -Lcom/groupbyinc/flux/rest/RestRequest$Method; i j k #com/groupbyinc/flux/rest/RestStatus m java/lang/Throwable o convert ?(Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/rest/RestStatus;Ljava/lang/Throwable;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; q r
s *com/groupbyinc/flux/ElasticsearchException u copyHeaders /(Lcom/groupbyinc/flux/ElasticsearchException;)V w x
y '()Lcom/groupbyinc/flux/rest/RestStatus; newErrorBuilder 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; | }
` ~ startObject ? }
- ? error ? unknown ? field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
- ? detailedErrorsEnabled ()Z ? ?
` ? error_trace ? paramAsBoolean (Ljava/lang/String;Z)Z ? ?
? rest.exception.stacktrace.skip ? false ? java/util/Collections ? singletonMap 5(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map; ? ?
? ? I(Ljava/util/Map;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V ?
? getStatus ()I ? ?
n ? ?
{} Params: {} ? java/lang/Object ? path ? 4
? params ()Ljava/util/Map; ? ?
? +com/groupbyinc/flux/common/logging/ESLogger ? debug =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ? ? ? ? warn ? ? ? ? I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
- ? guessRootCauses D(Ljava/lang/Throwable;)[Lcom/groupbyinc/flux/ElasticsearchException; ? ?
v ?
root_cause ?
startArray ? }
- ? -[Lcom/groupbyinc/flux/ElasticsearchException; ? rest.exception.cause.skip ? true ?
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
v ? endObject ? }
- ? endArray ? }
- ? ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;Ljava/lang/Throwable;)V ? ?
v ?
simpleMessage )(Ljava/lang/Throwable;)Ljava/lang/String; ? ?
? J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
- ? 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; rootCause ,Lcom/groupbyinc/flux/ElasticsearchException;
rootCauses java/lang/StringBuilder ?
? H getClass ()Ljava/lang/Class; ? ?
? ? java/lang/Class ?
getSimpleName ? 4
? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? [ ?
getMessage ? 4
p ? ] ? toString ? 4
? ? getCause ()Ljava/lang/Throwable;
p No ElasticsearchException found counter I next rest.suppressed 2com/groupbyinc/flux/common/logging/ESLoggerFactory
getLogger A(Ljava/lang/String;)Lcom/groupbyinc/flux/common/logging/ESLogger;
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable
SourceFile InnerClasses ! C *+? %? (? ) *
.
/ + S *+,? 0? 6,? :? (? ) * ; <