okhttp3.internal.http.RetryAndFollowUpInterceptor.class Maven / Gradle / Ivy
???? 4? 1okhttp3/internal/http/RetryAndFollowUpInterceptor java/lang/Object okhttp3/Interceptor (Lokhttp3/OkHttpClient;)V #Lorg/jetbrains/annotations/NotNull; client
kotlin/jvm/internal/Intrinsics checkNotNullParameter '(Ljava/lang/Object;Ljava/lang/String;)V
()V
Lokhttp3/OkHttpClient;
this 3Lokhttp3/internal/http/RetryAndFollowUpInterceptor; intercept /(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response; java/io/IOException *okhttp3/internal/connection/RouteException chain *okhttp3/internal/http/RealInterceptorChain " getRequest$okhttp ()Lokhttp3/Request; $ %
# & getCall$okhttp (()Lokhttp3/internal/connection/RealCall; ( )
# * kotlin/collections/CollectionsKt , emptyList ()Ljava/util/List; . /
- 0 $okhttp3/internal/connection/RealCall 2 enterNetworkInterceptorExchange (Lokhttp3/Request;Z)V 4 5
3 6
isCanceled ()Z 8 9
3 : Canceled < (Ljava/lang/String;)V >
? proceed %(Lokhttp3/Request;)Lokhttp3/Response; A B
# C getLastConnectException ()Ljava/io/IOException; E F
G recover P(Ljava/io/IOException;Lokhttp3/internal/connection/RealCall;Lokhttp3/Request;Z)Z I J
K getFirstConnectException M F
N java/lang/Exception P okhttp3/internal/Util R withSuppressed <(Ljava/lang/Exception;Ljava/util/List;)Ljava/lang/Throwable; T U
S V java/util/Collection X plus :(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/List; Z [
- \ %exitNetworkInterceptorExchange$okhttp (Z)V ^ _
3 ` 2okhttp3/internal/http2/ConnectionShutdownException b okhttp3/Response d
newBuilder ()Lokhttp3/Response$Builder; f g
e h okhttp3/Response$Builder j body 2(Lokhttp3/ResponseBody;)Lokhttp3/Response$Builder; l m
k n build ()Lokhttp3/Response; p q
k r
priorResponse .(Lokhttp3/Response;)Lokhttp3/Response$Builder; t u
k v #getInterceptorScopedExchange$okhttp (()Lokhttp3/internal/connection/Exchange; x y
3 z followUpRequest K(Lokhttp3/Response;Lokhttp3/internal/connection/Exchange;)Lokhttp3/Request; | }
~ $okhttp3/internal/connection/Exchange ? isDuplex$okhttp ? 9
? ? timeoutEarlyExit ?
3 ? okhttp3/Request ? ()Lokhttp3/RequestBody; l ?
? ? okhttp3/RequestBody ? isOneShot ? 9
? ? ()Lokhttp3/ResponseBody; l ?
e ? java/io/Closeable ? closeQuietly (Ljava/io/Closeable;)V ? ?
S ? java/net/ProtocolException ? Too many follow-up requests: ? java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ?
stringPlus 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; ? ?
?
? ? e ,Lokhttp3/internal/connection/RouteException; Ljava/io/IOException; exchange &Lokhttp3/internal/connection/Exchange; followUp Lokhttp3/Request; followUpBody Lokhttp3/RequestBody; response Lokhttp3/Response; closeActiveExchange Z realChain ,Lokhttp3/internal/http/RealInterceptorChain; request call &Lokhttp3/internal/connection/RealCall;
followUpCount I newExchangeFinder recoveredFailures Ljava/util/List; Lokhttp3/Interceptor$Chain; okhttp3/Interceptor$Chain ? java/util/List ? okhttp3/ResponseBody ? java/lang/Throwable ? okhttp3/OkHttpClient ? retryOnConnectionFailure ? 9
? ? requestIsOneShot )(Ljava/io/IOException;Lokhttp3/Request;)Z ? ?
?
isRecoverable (Ljava/io/IOException;Z)Z ? ?
? retryAfterFailure ? 9
3 ? userRequest requestSendStarted java/io/FileNotFoundException ? requestBody java/io/InterruptedIOException ? java/net/SocketTimeoutException ? #javax/net/ssl/SSLHandshakeException ? getCause ()Ljava/lang/Throwable; ? ?
? 'java/security/cert/CertificateException ? (javax/net/ssl/SSLPeerUnverifiedException ? getConnection$okhttp .()Lokhttp3/internal/connection/RealConnection; ? ?
? ? *okhttp3/internal/connection/RealConnection ? route ()Lokhttp3/Route; ? ?
? ? code ()I ? ?
e ? ? %
e ? method ()Ljava/lang/String; ? ?
? ? checkNotNull (Ljava/lang/Object;)V
okhttp3/Route proxy ()Ljava/net/Proxy;
java/net/Proxy type ()Ljava/net/Proxy$Type;
java/net/Proxy$Type HTTP Ljava/net/Proxy$Type; 9Received HTTP_PROXY_AUTH (407) code while not using proxy proxyAuthenticator ()Lokhttp3/Authenticator;
? okhttp3/Authenticator authenticate 4(Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request; !
authenticator#
?$ buildRedirectRequest 7(Lokhttp3/Response;Ljava/lang/String;)Lokhttp3/Request;&'
( t q
e*
retryAfter (Lokhttp3/Response;I)I,-
.??? isCoalescedConnection$okhttp1 9
?2 noCoalescedConnections$okhttp4
?5
selectedProxy Ljava/net/Proxy; Lokhttp3/Route; responseCode Ljava/lang/String; userResponse java/lang/String= followRedirects? 9
?@ LocationB header$default ](Lokhttp3/Response;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;DE
eF url ()Lokhttp3/HttpUrl;HI
?J okhttp3/HttpUrlL resolve %(Ljava/lang/String;)Lokhttp3/HttpUrl;NO
MP schemeR ?
MS areEqual '(Ljava/lang/Object;Ljava/lang/Object;)ZUV
W followSslRedirectsY 9
?Z ()Lokhttp3/Request$Builder; f\
?] okhttp3/internal/http/HttpMethod_ permitsRequestBody (Ljava/lang/String;)Zab
`c INSTANCE "Lokhttp3/internal/http/HttpMethod;ef `g redirectsWithBodyib
`j redirectsToGetlb
`m GETo okhttp3/Request$Builderq B(Ljava/lang/String;Lokhttp3/RequestBody;)Lokhttp3/Request$Builder; ?s
rt Transfer-Encodingv removeHeader -(Ljava/lang/String;)Lokhttp3/Request$Builder;xy
rz Content-Length| Content-Type~ canReuseConnectionFor %(Lokhttp3/HttpUrl;Lokhttp3/HttpUrl;)Z??
S?
Authorization? ,(Lokhttp3/HttpUrl;)Lokhttp3/Request$Builder;H?
r? p %
r? maintainBody location Lokhttp3/HttpUrl;
sameScheme requestBuilder Lokhttp3/Request$Builder; Retry-After? java/lang/CharSequence? kotlin/text/Regex? \d+?
? ? matches (Ljava/lang/CharSequence;)Z??
?? '(Ljava/lang/String;)Ljava/lang/Integer; ??
?? valueOf(header)? checkNotNullExpressionValue?
? java/lang/Number? intValue? ?
?? header defaultDelay ;okhttp3/internal/http/RetryAndFollowUpInterceptor$Companion? 1(Lkotlin/jvm/internal/DefaultConstructorMarker;)V ?
?? Companion =Lokhttp3/internal/http/RetryAndFollowUpInterceptor$Companion;?? ? MAX_FOLLOW_UPS Lkotlin/Metadata; mv k xi 0 d1Q??R
??
??
??
??
??
?? 20:B
0¢J0202 0
HJ02020
HJ020HJ02020HJ(020202020HJ02020HJ02020HR0X¢
??¨ d2 Lokhttp3/Interceptor; okhttp RetryAndFollowUpInterceptor.kt RuntimeInvisibleAnnotations
ConstantValue Code LineNumberTable LocalVariableTable $RuntimeInvisibleParameterAnnotations
StackMapTable
Exceptions InnerClasses
SourceFile RuntimeVisibleAnnotations 1 ?? ?
? ? ? ? ? ? D +? *? *+? ? ? 6?
? ? ? ?+!? +? #M+? #? 'N,? +:6:6? 1: -? 7: 6
? ;?
? Y=? @? ,-? D: 6? ?:*? H-? L? ? O? Q? W?? Y? O? ]:6
? a???:*-? c? ? ? L? ? Q? W?? Y? ]:6
? a??V? ? i? i? o? s? w? s: ? {:* ? :? &? ? ?? ? ?6
:
? a
?? ?:
?
? ?? 6
:
? a? ? ?Y? W? ? ?? ??? ? ?Y?? ?? ?? ??N :
? a???:
? a? I T W I T ? 6 ?? ? ?? ?!? +F? P?? ??? ? ? ' ? # ? 3 e ? ? !?
? # ? 3 e ? e ? ? ? # ? 3 e ? e ? ? # ? 3 e ? e 3 ?? ? # ? 3 e ? e 3 ?? ? ' ? ?? $ ?L ?? ? # ? 3 e ? e ?? @ : ; <