a.smali

.class public final Lokhttp3/internal/connection/a;
.super Ljava/lang/Object;
.source "ConnectInterceptor.java"

# interfaces
.implements Lokhttp3/Interceptor;


# instance fields
.field public final a:Lokhttp3/z;


# direct methods
.method public constructor <init>(Lokhttp3/z;)V
    .registers 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Lokhttp3/internal/connection/a;->a:Lokhttp3/z;

    return-void
.end method


# virtual methods
.method public intercept(Lokhttp3/Interceptor$Chain;)Lokhttp3/H;
    .registers 7
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    move-object v0, p1

    check-cast v0, Lokhttp3/internal/http/g;

    .line 2
    invoke-virtual {v0}, Lokhttp3/internal/http/g;->request()Lokhttp3/C;

    move-result-object v1

    .line 3
    invoke-virtual {v0}, Lokhttp3/internal/http/g;->c()Lokhttp3/internal/connection/g;

    move-result-object v2

    .line 4
    invoke-virtual {v1}, Lokhttp3/C;->e()Ljava/lang/String;

    move-result-object v3

    const-string v4, "GET"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    xor-int/lit8 v3, v3, 0x1

    .line 5
    iget-object v4, p0, Lokhttp3/internal/connection/a;->a:Lokhttp3/z;

    invoke-virtual {v2, v4, p1, v3}, Lokhttp3/internal/connection/g;->a(Lokhttp3/z;Lokhttp3/Interceptor$Chain;Z)Lokhttp3/internal/http/HttpCodec;

    move-result-object p1

    .line 6
    invoke-virtual {v2}, Lokhttp3/internal/connection/g;->c()Lokhttp3/internal/connection/d;

    move-result-object v3

    .line 7
    invoke-virtual {v0, v1, v2, p1, v3}, Lokhttp3/internal/http/g;->a(Lokhttp3/C;Lokhttp3/internal/connection/g;Lokhttp3/internal/http/HttpCodec;Lokhttp3/internal/connection/d;)Lokhttp3/H;

    move-result-object p1

    return-object p1
.end method