RealInterceptorChain.smali
.class public final Lokhttp3/internal/http/RealInterceptorChain;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lokhttp3/Interceptor$Chain;
# instance fields
.field private final call:Lokhttp3/Call;
.field private calls:I
.field private final connectTimeout:I
.field private final connection:Lokhttp3/internal/connection/RealConnection;
.field private final eventListener:Lokhttp3/EventListener;
.field private final httpCodec:Lokhttp3/internal/http/HttpCodec;
.field private final index:I
.field private final interceptors:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.end field
.field private final readTimeout:I
.field private final request:Lokhttp3/Request;
.field private final streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
.field private final writeTimeout:I
# direct methods
.method public constructor <init>(Ljava/util/List;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;ILokhttp3/Request;Lokhttp3/Call;Lokhttp3/EventListener;III)V
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;",
"Lokhttp3/internal/connection/StreamAllocation;",
"Lokhttp3/internal/http/HttpCodec;",
"Lokhttp3/internal/connection/RealConnection;",
"I",
"Lokhttp3/Request;",
"Lokhttp3/Call;",
"Lokhttp3/EventListener;",
"III)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
.line 3
iput-object p4, p0, Lokhttp3/internal/http/RealInterceptorChain;->connection:Lokhttp3/internal/connection/RealConnection;
.line 4
iput-object p2, p0, Lokhttp3/internal/http/RealInterceptorChain;->streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
.line 5
iput-object p3, p0, Lokhttp3/internal/http/RealInterceptorChain;->httpCodec:Lokhttp3/internal/http/HttpCodec;
.line 6
iput p5, p0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
.line 7
iput-object p6, p0, Lokhttp3/internal/http/RealInterceptorChain;->request:Lokhttp3/Request;
.line 8
iput-object p7, p0, Lokhttp3/internal/http/RealInterceptorChain;->call:Lokhttp3/Call;
.line 9
iput-object p8, p0, Lokhttp3/internal/http/RealInterceptorChain;->eventListener:Lokhttp3/EventListener;
.line 10
iput p9, p0, Lokhttp3/internal/http/RealInterceptorChain;->connectTimeout:I
.line 11
iput p10, p0, Lokhttp3/internal/http/RealInterceptorChain;->readTimeout:I
.line 12
iput p11, p0, Lokhttp3/internal/http/RealInterceptorChain;->writeTimeout:I
return-void
.end method
.method public static INVOKEVIRTUAL_okhttp3_internal_http_RealInterceptorChain_com_shopee_app_asm_fix_printstack_PrintStackTraceShieldFix_printStackTrace(Ljava/lang/Throwable;)V
.registers 1
return-void
.end method
# virtual methods
.method public call()Lokhttp3/Call;
.registers 2
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->call:Lokhttp3/Call;
return-object v0
.end method
.method public connectTimeoutMillis()I
.registers 2
iget v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->connectTimeout:I
return v0
.end method
.method public connection()Lokhttp3/Connection;
.registers 2
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->connection:Lokhttp3/internal/connection/RealConnection;
return-object v0
.end method
.method public eventListener()Lokhttp3/EventListener;
.registers 2
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->eventListener:Lokhttp3/EventListener;
return-object v0
.end method
.method public httpStream()Lokhttp3/internal/http/HttpCodec;
.registers 2
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->httpCodec:Lokhttp3/internal/http/HttpCodec;
return-object v0
.end method
.method public proceed(Lokhttp3/Request;)Lokhttp3/Response;
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
iget-object v1, p0, Lokhttp3/internal/http/RealInterceptorChain;->httpCodec:Lokhttp3/internal/http/HttpCodec;
iget-object v2, p0, Lokhttp3/internal/http/RealInterceptorChain;->connection:Lokhttp3/internal/connection/RealConnection;
invoke-virtual {p0, p1, v0, v1, v2}, Lokhttp3/internal/http/RealInterceptorChain;->proceed(Lokhttp3/Request;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;)Lokhttp3/Response;
move-result-object p1
return-object p1
.end method
.method public proceed(Lokhttp3/Request;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;)Lokhttp3/Response;
.registers 21
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v7, p1
.line 2
const-class v1, Lokhttp3/HttpRequestTag;
iget v2, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
iget-object v3, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
invoke-interface {v3}, Ljava/util/List;->size()I
move-result v3
if-ge v2, v3, :cond_146
.line 3
iget v2, v0, Lokhttp3/internal/http/RealInterceptorChain;->calls:I
const/4 v3, 0x1
add-int/2addr v2, v3
iput v2, v0, Lokhttp3/internal/http/RealInterceptorChain;->calls:I
.line 4
invoke-virtual {v7, v1}, Lokhttp3/Request;->tag(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v2
if-eqz v2, :cond_27
.line 5
invoke-virtual {v7, v1}, Lokhttp3/Request;->tag(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/HttpRequestTag;
invoke-virtual {v1}, Lokhttp3/HttpRequestTag;->getRequestID()Ljava/lang/String;
move-result-object v1
goto :goto_29
:cond_27
const-string v1, ""
.line 6
:goto_29
invoke-static {}, Lokhttp3/internal/Util;->isForPublic()Z
move-result v2
if-eqz v2, :cond_41
.line 7
iget-object v2, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget v4, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lokhttp3/Interceptor;
invoke-interface {v2}, Lokhttp3/Interceptor;->getName()Ljava/lang/String;
move-result-object v2
invoke-static {v1, v2}, Lokhttp3/internal/http/InterceptorHelper;->addRecord(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_56
.line 8
:cond_41
iget-object v2, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget v4, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lokhttp3/Interceptor;
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v2
invoke-static {v1, v2}, Lokhttp3/internal/http/InterceptorHelper;->addRecord(Ljava/lang/String;Ljava/lang/String;)V
.line 9
:goto_56
iget-object v1, v0, Lokhttp3/internal/http/RealInterceptorChain;->httpCodec:Lokhttp3/internal/http/HttpCodec;
const-string v13, "network interceptor "
if-eqz v1, :cond_88
iget-object v1, v0, Lokhttp3/internal/http/RealInterceptorChain;->connection:Lokhttp3/internal/connection/RealConnection;
invoke-virtual/range {p1 .. p1}, Lokhttp3/Request;->url()Lokhttp3/HttpUrl;
move-result-object v2
invoke-virtual {v1, v2}, Lokhttp3/internal/connection/RealConnection;->supportsUrl(Lokhttp3/HttpUrl;)Z
move-result v1
if-eqz v1, :cond_69
goto :goto_88
.line 10
:cond_69
new-instance v1, Ljava/lang/IllegalStateException;
.line 11
invoke-static {v13}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
.line 12
iget-object v4, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget v5, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
sub-int/2addr v5, v3
invoke-interface {v4, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v3, " must retain the same host and port"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
.line 13
:cond_88
:goto_88
iget-object v1, v0, Lokhttp3/internal/http/RealInterceptorChain;->httpCodec:Lokhttp3/internal/http/HttpCodec;
const-string v14, " must call proceed() exactly once"
if-eqz v1, :cond_b0
iget v1, v0, Lokhttp3/internal/http/RealInterceptorChain;->calls:I
if-gt v1, v3, :cond_93
goto :goto_b0
.line 14
:cond_93
new-instance v1, Ljava/lang/IllegalStateException;
.line 15
invoke-static {v13}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
.line 16
iget-object v4, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget v5, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
sub-int/2addr v5, v3
invoke-interface {v4, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
.line 17
:cond_b0
:goto_b0
new-instance v15, Lokhttp3/internal/http/RealInterceptorChain;
iget-object v2, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget v1, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
add-int/lit8 v6, v1, 0x1
iget-object v8, v0, Lokhttp3/internal/http/RealInterceptorChain;->call:Lokhttp3/Call;
iget-object v9, v0, Lokhttp3/internal/http/RealInterceptorChain;->eventListener:Lokhttp3/EventListener;
iget v10, v0, Lokhttp3/internal/http/RealInterceptorChain;->connectTimeout:I
iget v11, v0, Lokhttp3/internal/http/RealInterceptorChain;->readTimeout:I
iget v12, v0, Lokhttp3/internal/http/RealInterceptorChain;->writeTimeout:I
move-object v1, v15
move-object/from16 v3, p2
move-object/from16 v4, p3
move-object/from16 v5, p4
move-object/from16 v7, p1
invoke-direct/range {v1 .. v12}, Lokhttp3/internal/http/RealInterceptorChain;-><init>(Ljava/util/List;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;ILokhttp3/Request;Lokhttp3/Call;Lokhttp3/EventListener;III)V
.line 18
iget-object v1, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget v2, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/Interceptor;
.line 19
invoke-interface {v1, v15}, Lokhttp3/Interceptor;->intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
move-result-object v2
if-eqz p3, :cond_107
.line 20
iget v3, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
const/4 v4, 0x1
add-int/2addr v3, v4
iget-object v5, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
invoke-interface {v5}, Ljava/util/List;->size()I
move-result v5
if-ge v3, v5, :cond_107
iget v3, v15, Lokhttp3/internal/http/RealInterceptorChain;->calls:I
if-ne v3, v4, :cond_ef
goto :goto_107
.line 21
:cond_ef
new-instance v2, Ljava/lang/IllegalStateException;
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v3, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v2, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v2
:cond_107
:goto_107
const-string v3, "interceptor "
if-eqz v2, :cond_12c
.line 22
invoke-virtual {v2}, Lokhttp3/Response;->body()Lokhttp3/ResponseBody;
move-result-object v4
if-eqz v4, :cond_112
return-object v2
.line 23
:cond_112
new-instance v2, Ljava/lang/IllegalStateException;
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, " returned a response with no body"
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v2, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v2
.line 24
:cond_12c
new-instance v2, Ljava/lang/NullPointerException;
new-instance v4, Ljava/lang/StringBuilder;
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, " returned null"
invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v2, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw v2
.line 25
:cond_146
new-instance v1, Ljava/lang/AssertionError;
invoke-direct {v1}, Ljava/lang/AssertionError;-><init>()V
throw v1
.end method
.method public readTimeoutMillis()I
.registers 2
iget v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->readTimeout:I
return v0
.end method
.method public request()Lokhttp3/Request;
.registers 2
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->request:Lokhttp3/Request;
return-object v0
.end method
.method public resetInterceptor(Lokhttp3/Interceptor;)V
.registers 6
.line 1
:try_start_0
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->call:Lokhttp3/Call;
instance-of v1, v0, Lokhttp3/RealCall;
if-eqz v1, :cond_f
check-cast v0, Lokhttp3/RealCall;
.line 2
invoke-virtual {v0}, Lokhttp3/RealCall;->isForWebSocket()Z
move-result v0
if-eqz v0, :cond_f
return-void
.line 3
:cond_f
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->request:Lokhttp3/Request;
const-class v1, Lokhttp3/HttpRequestTag;
invoke-virtual {v0, v1}, Lokhttp3/Request;->tag(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lokhttp3/HttpRequestTag;
if-eqz v0, :cond_96
.line 4
invoke-virtual {v0}, Lokhttp3/HttpRequestTag;->isResetInterceptorsForCronet()Z
move-result v0
if-nez v0, :cond_23
goto/16 :goto_96
:cond_23
const/4 v0, 0x0
.line 5
iget-object v1, p0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
invoke-interface {v1, p1}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
move-result p1
.line 6
iget-object v1, p0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-eqz v1, :cond_96
if-gtz p1, :cond_35
goto :goto_96
.line 7
:cond_35
iget-object p1, p0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
.line 8
:cond_3b
:goto_3b
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_90
.line 9
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/Interceptor;
.line 10
invoke-interface {v1}, Lokhttp3/Interceptor;->getName()Ljava/lang/String;
move-result-object v2
const-string v3, "CronetInterceptor"
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_58
.line 11
invoke-interface {p1}, Ljava/util/Iterator;->remove()V
move-object v0, v1
goto :goto_3b
.line 12
:cond_58
invoke-interface {v1}, Lokhttp3/Interceptor;->getName()Ljava/lang/String;
move-result-object v2
const-string v3, "CronetNetworkDelegateInterceptor"
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_68
.line 13
invoke-interface {p1}, Ljava/util/Iterator;->remove()V
goto :goto_3b
.line 14
:cond_68
instance-of v2, v1, Lokhttp3/internal/http/RetryAndFollowUpInterceptor;
if-eqz v2, :cond_70
.line 15
invoke-interface {p1}, Ljava/util/Iterator;->remove()V
goto :goto_3b
.line 16
:cond_70
instance-of v2, v1, Lokhttp3/internal/http/BridgeInterceptor;
if-eqz v2, :cond_78
.line 17
invoke-interface {p1}, Ljava/util/Iterator;->remove()V
goto :goto_3b
.line 18
:cond_78
instance-of v2, v1, Lokhttp3/internal/cache/CacheInterceptor;
if-eqz v2, :cond_80
.line 19
invoke-interface {p1}, Ljava/util/Iterator;->remove()V
goto :goto_3b
.line 20
:cond_80
instance-of v2, v1, Lokhttp3/internal/connection/ConnectInterceptor;
if-eqz v2, :cond_88
.line 21
invoke-interface {p1}, Ljava/util/Iterator;->remove()V
goto :goto_3b
.line 22
:cond_88
instance-of v1, v1, Lokhttp3/internal/http/CallServerInterceptor;
if-eqz v1, :cond_3b
.line 23
invoke-interface {p1}, Ljava/util/Iterator;->remove()V
goto :goto_3b
.line 24
:cond_90
iget-object p1, p0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:try_end_95
.catchall {:try_start_0 .. :try_end_95} :catchall_97
goto :goto_9b
:cond_96
:goto_96
return-void
:catchall_97
move-exception p1
.line 25
invoke-static {p1}, Lokhttp3/internal/http/RealInterceptorChain;->INVOKEVIRTUAL_okhttp3_internal_http_RealInterceptorChain_com_shopee_app_asm_fix_printstack_PrintStackTraceShieldFix_printStackTrace(Ljava/lang/Throwable;)V
:goto_9b
return-void
.end method
.method public streamAllocation()Lokhttp3/internal/connection/StreamAllocation;
.registers 2
iget-object v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
return-object v0
.end method
.method public withConnectTimeout(ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;
.registers 19
move-object/from16 v0, p0
move/from16 v1, p1
int-to-long v1, v1
const-string v3, "timeout"
move-object/from16 v4, p2
.line 1
invoke-static {v3, v1, v2, v4}, Lokhttp3/internal/Util;->checkDuration(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
move-result v13
.line 2
new-instance v1, Lokhttp3/internal/http/RealInterceptorChain;
iget-object v5, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget-object v6, v0, Lokhttp3/internal/http/RealInterceptorChain;->streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
iget-object v7, v0, Lokhttp3/internal/http/RealInterceptorChain;->httpCodec:Lokhttp3/internal/http/HttpCodec;
iget-object v8, v0, Lokhttp3/internal/http/RealInterceptorChain;->connection:Lokhttp3/internal/connection/RealConnection;
iget v9, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
iget-object v10, v0, Lokhttp3/internal/http/RealInterceptorChain;->request:Lokhttp3/Request;
iget-object v11, v0, Lokhttp3/internal/http/RealInterceptorChain;->call:Lokhttp3/Call;
iget-object v12, v0, Lokhttp3/internal/http/RealInterceptorChain;->eventListener:Lokhttp3/EventListener;
iget v14, v0, Lokhttp3/internal/http/RealInterceptorChain;->readTimeout:I
iget v15, v0, Lokhttp3/internal/http/RealInterceptorChain;->writeTimeout:I
move-object v4, v1
invoke-direct/range {v4 .. v15}, Lokhttp3/internal/http/RealInterceptorChain;-><init>(Ljava/util/List;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;ILokhttp3/Request;Lokhttp3/Call;Lokhttp3/EventListener;III)V
return-object v1
.end method
.method public withReadTimeout(ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;
.registers 19
move-object/from16 v0, p0
move/from16 v1, p1
int-to-long v1, v1
const-string v3, "timeout"
move-object/from16 v4, p2
.line 1
invoke-static {v3, v1, v2, v4}, Lokhttp3/internal/Util;->checkDuration(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
move-result v14
.line 2
new-instance v1, Lokhttp3/internal/http/RealInterceptorChain;
iget-object v5, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget-object v6, v0, Lokhttp3/internal/http/RealInterceptorChain;->streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
iget-object v7, v0, Lokhttp3/internal/http/RealInterceptorChain;->httpCodec:Lokhttp3/internal/http/HttpCodec;
iget-object v8, v0, Lokhttp3/internal/http/RealInterceptorChain;->connection:Lokhttp3/internal/connection/RealConnection;
iget v9, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
iget-object v10, v0, Lokhttp3/internal/http/RealInterceptorChain;->request:Lokhttp3/Request;
iget-object v11, v0, Lokhttp3/internal/http/RealInterceptorChain;->call:Lokhttp3/Call;
iget-object v12, v0, Lokhttp3/internal/http/RealInterceptorChain;->eventListener:Lokhttp3/EventListener;
iget v13, v0, Lokhttp3/internal/http/RealInterceptorChain;->connectTimeout:I
iget v15, v0, Lokhttp3/internal/http/RealInterceptorChain;->writeTimeout:I
move-object v4, v1
invoke-direct/range {v4 .. v15}, Lokhttp3/internal/http/RealInterceptorChain;-><init>(Ljava/util/List;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;ILokhttp3/Request;Lokhttp3/Call;Lokhttp3/EventListener;III)V
return-object v1
.end method
.method public withWriteTimeout(ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;
.registers 19
move-object/from16 v0, p0
move/from16 v1, p1
int-to-long v1, v1
const-string v3, "timeout"
move-object/from16 v4, p2
.line 1
invoke-static {v3, v1, v2, v4}, Lokhttp3/internal/Util;->checkDuration(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
move-result v15
.line 2
new-instance v1, Lokhttp3/internal/http/RealInterceptorChain;
iget-object v5, v0, Lokhttp3/internal/http/RealInterceptorChain;->interceptors:Ljava/util/List;
iget-object v6, v0, Lokhttp3/internal/http/RealInterceptorChain;->streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
iget-object v7, v0, Lokhttp3/internal/http/RealInterceptorChain;->httpCodec:Lokhttp3/internal/http/HttpCodec;
iget-object v8, v0, Lokhttp3/internal/http/RealInterceptorChain;->connection:Lokhttp3/internal/connection/RealConnection;
iget v9, v0, Lokhttp3/internal/http/RealInterceptorChain;->index:I
iget-object v10, v0, Lokhttp3/internal/http/RealInterceptorChain;->request:Lokhttp3/Request;
iget-object v11, v0, Lokhttp3/internal/http/RealInterceptorChain;->call:Lokhttp3/Call;
iget-object v12, v0, Lokhttp3/internal/http/RealInterceptorChain;->eventListener:Lokhttp3/EventListener;
iget v13, v0, Lokhttp3/internal/http/RealInterceptorChain;->connectTimeout:I
iget v14, v0, Lokhttp3/internal/http/RealInterceptorChain;->readTimeout:I
move-object v4, v1
invoke-direct/range {v4 .. v15}, Lokhttp3/internal/http/RealInterceptorChain;-><init>(Ljava/util/List;Lokhttp3/internal/connection/StreamAllocation;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/RealConnection;ILokhttp3/Request;Lokhttp3/Call;Lokhttp3/EventListener;III)V
return-object v1
.end method
.method public writeTimeoutMillis()I
.registers 2
iget v0, p0, Lokhttp3/internal/http/RealInterceptorChain;->writeTimeout:I
return v0
.end method