com.groupbyinc.flux.common.http.impl.client.DefaultHttpRequestRetryHandler.class Maven / Gradle / Ivy
???? 2 ? Jcom/groupbyinc/flux/common/http/impl/client/DefaultHttpRequestRetryHandler java/lang/Object >com/groupbyinc/flux/common/http/client/HttpRequestRetryHandler #DefaultHttpRequestRetryHandler.java 5Lcom/groupbyinc/flux/common/http/annotation/Contract; threading >Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior; IMMUTABLE INSTANCE LLcom/groupbyinc/flux/common/http/impl/client/DefaultHttpRequestRetryHandler;
retryCount I requestSentRetryEnabled Z nonRetriableClasses Ljava/util/Set; :Ljava/util/Set;>; (IZLjava/util/Collection;)V ()V
java/util/HashSet
! java/util/Collection # iterator ()Ljava/util/Iterator; % & $ ' java/util/Iterator ) hasNext ()Z + , * - next ()Ljava/lang/Object; / 0 * 1 java/lang/Class 3
java/util/Set 5 add (Ljava/lang/Object;)Z 7 8 6 9 clazz )Ljava/lang/Class<+Ljava/io/IOException;>; Ljava/lang/Class; i$ Ljava/util/Iterator; this clazzes ALjava/util/Collection;>; Ljava/util/Collection; (IZ)V java/io/InterruptedIOException E java/net/UnknownHostException G java/net/ConnectException I javax/net/ssl/SSLException K java/util/Arrays M asList %([Ljava/lang/Object;)Ljava/util/List; O P
N Q
S D
U retryRequest O(Ljava/io/IOException;ILcom/groupbyinc/flux/common/http/protocol/HttpContext;)Z Exception parameter Y )com/groupbyinc/flux/common/http/util/Args [ notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ] ^
\ _ HTTP context a getClass ()Ljava/lang/Class; c d
e contains g 8 6 h 6 '
isInstance k 8
4 l Acom/groupbyinc/flux/common/http/client/protocol/HttpClientContext n adapt {(Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Lcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext; p q
o r
getRequest /()Lcom/groupbyinc/flux/common/http/HttpRequest; t u
o v requestIsAborted 0(Lcom/groupbyinc/flux/common/http/HttpRequest;)Z x y
z +com/groupbyinc/flux/common/http/HttpRequest | handleAsIdempotent ~ y
isRequestSent ? ,
o ? rejectException exception Ljava/io/IOException; executionCount context 6Lcom/groupbyinc/flux/common/http/protocol/HttpContext;
clientContext CLcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext; request -Lcom/groupbyinc/flux/common/http/HttpRequest; isRequestSentRetryEnabled
getRetryCount ()I :com/groupbyinc/flux/common/http/HttpEntityEnclosingRequest ? Ljava/lang/Deprecated; :com/groupbyinc/flux/common/http/impl/client/RequestWrapper ? getOriginal ? u
? ? =com/groupbyinc/flux/common/http/client/methods/HttpUriRequest ? isAborted ? , ? ? req
? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable F(IZLjava/util/Collection;>;)V
Deprecated RuntimeVisibleAnnotations
SourceFile RuntimeInvisibleAnnotations !
? ? ? G*? *? *? *? Y? ? "-? ( :? . ? ? 2 ? 4:*? "? : W??ޱ ? > 7 ; = ! % > ? G @
G G G A C ? 7 ; <