apkfuckery/com.discord/smali/okhttp3/d.smali

840 lines
16 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokhttp3/d;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "CacheControl.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lokhttp3/d$a;
}
.end annotation
# static fields
2019-02-27 00:16:35 +00:00
.field public static final biM:Lokhttp3/d;
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
.field public static final biN:Lokhttp3/d;
2019-02-04 20:08:30 +00:00
2019-02-04 20:42:43 +00:00
2019-02-22 00:19:04 +00:00
# instance fields
2019-02-27 00:16:35 +00:00
.field public final biO:Z
2019-02-04 20:42:43 +00:00
2019-02-27 00:16:35 +00:00
.field public final biP:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
.field public final biQ:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
.field private final biR:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
.field public final biS:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
.field public final biT:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
.field public final biU:Z
2019-02-06 20:30:57 +00:00
2019-02-27 00:16:35 +00:00
.field public final biV:I
2019-02-06 20:30:57 +00:00
2019-02-27 00:16:35 +00:00
.field public final biW:I
2019-02-22 00:19:04 +00:00
2019-02-27 00:16:35 +00:00
.field public final biX:Z
2019-02-08 08:21:44 +00:00
2019-02-27 00:16:35 +00:00
.field private final biY:Z
2019-02-08 08:21:44 +00:00
2019-02-27 00:16:35 +00:00
.field biZ:Ljava/lang/String;
2019-02-17 02:24:41 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-02-06 20:30:57 +00:00
2019-02-17 02:24:41 +00:00
.field private final immutable:Z
2019-02-04 20:08:30 +00:00
# direct methods
.method static constructor <clinit>()V
.locals 6
new-instance v0, Lokhttp3/d$a;
invoke-direct {v0}, Lokhttp3/d$a;-><init>()V
const/4 v1, 0x1
2019-02-27 00:16:35 +00:00
iput-boolean v1, v0, Lokhttp3/d$a;->biO:Z
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0}, Lokhttp3/d$a;->zV()Lokhttp3/d;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-27 00:16:35 +00:00
sput-object v0, Lokhttp3/d;->biM:Lokhttp3/d;
2019-02-04 20:08:30 +00:00
new-instance v0, Lokhttp3/d$a;
invoke-direct {v0}, Lokhttp3/d$a;-><init>()V
2019-02-27 00:16:35 +00:00
iput-boolean v1, v0, Lokhttp3/d$a;->biX:Z
2019-02-04 20:08:30 +00:00
sget-object v1, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
const-wide/32 v2, 0x7fffffff
invoke-virtual {v1, v2, v3}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J
move-result-wide v4
cmp-long v1, v4, v2
if-lez v1, :cond_0
const v1, 0x7fffffff
goto :goto_0
:cond_0
long-to-int v1, v4
:goto_0
2019-02-27 00:16:35 +00:00
iput v1, v0, Lokhttp3/d$a;->biV:I
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v0}, Lokhttp3/d$a;->zV()Lokhttp3/d;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-02-27 00:16:35 +00:00
sput-object v0, Lokhttp3/d;->biN:Lokhttp3/d;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method constructor <init>(Lokhttp3/d$a;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-02-27 00:16:35 +00:00
iget-boolean v0, p1, Lokhttp3/d$a;->biO:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean v0, p0, Lokhttp3/d;->biO:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iget-boolean v0, p1, Lokhttp3/d$a;->biP:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean v0, p0, Lokhttp3/d;->biP:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iget v0, p1, Lokhttp3/d$a;->biQ:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput v0, p0, Lokhttp3/d;->biQ:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
const/4 v0, -0x1
2019-02-27 00:16:35 +00:00
iput v0, p0, Lokhttp3/d;->biR:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
const/4 v0, 0x0
2019-02-04 20:20:43 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean v0, p0, Lokhttp3/d;->biS:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean v0, p0, Lokhttp3/d;->biT:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean v0, p0, Lokhttp3/d;->biU:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iget v0, p1, Lokhttp3/d$a;->biV:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput v0, p0, Lokhttp3/d;->biV:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iget v0, p1, Lokhttp3/d$a;->biW:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput v0, p0, Lokhttp3/d;->biW:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iget-boolean v0, p1, Lokhttp3/d$a;->biX:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean v0, p0, Lokhttp3/d;->biX:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iget-boolean v0, p1, Lokhttp3/d$a;->biY:Z
2019-02-22 00:19:04 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean v0, p0, Lokhttp3/d;->biY:Z
2019-02-22 00:19:04 +00:00
2019-02-04 20:08:30 +00:00
iget-boolean p1, p1, Lokhttp3/d$a;->immutable:Z
iput-boolean p1, p0, Lokhttp3/d;->immutable:Z
return-void
.end method
.method private constructor <init>(ZZIIZZZIIZZZLjava/lang/String;)V
.locals 0
.param p13 # Ljava/lang/String;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-02-27 00:16:35 +00:00
iput-boolean p1, p0, Lokhttp3/d;->biO:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean p2, p0, Lokhttp3/d;->biP:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput p3, p0, Lokhttp3/d;->biQ:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput p4, p0, Lokhttp3/d;->biR:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean p5, p0, Lokhttp3/d;->biS:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean p6, p0, Lokhttp3/d;->biT:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean p7, p0, Lokhttp3/d;->biU:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput p8, p0, Lokhttp3/d;->biV:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput p9, p0, Lokhttp3/d;->biW:I
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean p10, p0, Lokhttp3/d;->biX:Z
2019-02-04 20:08:30 +00:00
2019-02-27 00:16:35 +00:00
iput-boolean p11, p0, Lokhttp3/d;->biY:Z
2019-02-04 20:08:30 +00:00
iput-boolean p12, p0, Lokhttp3/d;->immutable:Z
2019-02-27 00:16:35 +00:00
iput-object p13, p0, Lokhttp3/d;->biZ:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method public static a(Lokhttp3/Headers;)Lokhttp3/d;
2019-02-04 20:29:01 +00:00
.locals 22
2019-02-04 20:08:30 +00:00
move-object/from16 v0, p0
2019-02-27 21:13:14 +00:00
iget-object v1, v0, Lokhttp3/Headers;->bmr:[Ljava/lang/String;
2019-02-04 20:08:30 +00:00
array-length v1, v1
div-int/lit8 v1, v1, 0x2
const/4 v6, 0x0
const/4 v7, 0x1
const/4 v8, 0x0
2019-02-04 20:29:01 +00:00
const/4 v9, 0x0
2019-02-04 20:08:30 +00:00
const/4 v10, 0x0
2019-02-04 20:29:01 +00:00
const/4 v11, -0x1
2019-02-04 20:08:30 +00:00
const/4 v12, -0x1
2019-02-04 20:29:01 +00:00
const/4 v13, 0x0
2019-02-04 20:08:30 +00:00
const/4 v14, 0x0
const/4 v15, 0x0
2019-02-04 20:29:01 +00:00
const/16 v16, -0x1
2019-02-04 20:08:30 +00:00
const/16 v17, -0x1
2019-02-04 20:29:01 +00:00
const/16 v18, 0x0
2019-02-04 20:08:30 +00:00
const/16 v19, 0x0
const/16 v20, 0x0
:goto_0
2019-02-04 20:29:01 +00:00
if-ge v6, v1, :cond_13
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {v0, v6}, Lokhttp3/Headers;->cT(I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-virtual {v0, v6}, Lokhttp3/Headers;->cU(I)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const-string v3, "Cache-Control"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v3, :cond_1
2019-02-04 20:08:30 +00:00
if-eqz v8, :cond_0
const/4 v7, 0x0
2019-02-04 20:29:01 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-04 20:29:01 +00:00
move-object v8, v4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
:cond_1
2019-02-04 20:29:01 +00:00
const-string v3, "Pragma"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v2, :cond_12
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v7, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_1
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_2
invoke-virtual {v4}, Ljava/lang/String;->length()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ge v2, v3, :cond_11
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const-string v3, "=,;"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v4, v2, v3}, Lokhttp3/internal/c/e;->c(Ljava/lang/String;ILjava/lang/String;)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v4, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v4}, Ljava/lang/String;->length()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v3, v5, :cond_4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v4, v3}, Ljava/lang/String;->charAt(I)C
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v0, 0x2c
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eq v5, v0, :cond_4
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v4, v3}, Ljava/lang/String;->charAt(I)C
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
const/16 v5, 0x3b
2019-02-04 20:29:01 +00:00
if-ne v0, v5, :cond_2
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
:cond_2
2019-02-04 20:29:01 +00:00
add-int/lit8 v3, v3, 0x1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v4, v3}, Lokhttp3/internal/c/e;->k(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v4}, Ljava/lang/String;->length()I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ge v0, v3, :cond_3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v4, v0}, Ljava/lang/String;->charAt(I)C
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v5, 0x22
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-ne v3, v5, :cond_3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/lit8 v0, v0, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const-string v3, "\""
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v4, v0, v3}, Lokhttp3/internal/c/e;->c(Ljava/lang/String;ILjava/lang/String;)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v4, v0, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v5, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/2addr v3, v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_3
2019-02-04 20:29:01 +00:00
const/4 v5, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const-string v3, ",;"
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v4, v0, v3}, Lokhttp3/internal/c/e;->c(Ljava/lang/String;ILjava/lang/String;)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v4, v0, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
:cond_4
2019-02-04 20:29:01 +00:00
:goto_3
const/4 v5, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
add-int/lit8 v3, v3, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_4
const-string v5, "no-cache"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v9, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
:cond_5
2019-02-04 20:29:01 +00:00
const-string v5, "no-store"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v10, 0x1
goto :goto_2
2019-02-04 20:08:30 +00:00
:cond_6
2019-02-04 20:29:01 +00:00
const-string v5, "max-age"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_7
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v5, -0x1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v0, v5}, Lokhttp3/internal/c/e;->l(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v11
move v2, v3
move-object/from16 v0, p0
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_7
2019-02-04 20:29:01 +00:00
const-string v5, "s-maxage"
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_8
const/4 v5, -0x1
2019-02-27 21:13:14 +00:00
invoke-static {v0, v5}, Lokhttp3/internal/c/e;->l(Ljava/lang/String;I)I
2019-02-04 20:29:01 +00:00
move-result v12
move v2, v3
move-object/from16 v0, p0
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_8
2019-02-04 20:29:01 +00:00
const-string v5, "private"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_9
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v13, 0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_9
2019-02-04 20:29:01 +00:00
const-string v5, "public"
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_a
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
const/4 v14, 0x1
2019-02-04 20:29:01 +00:00
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_a
2019-02-04 20:29:01 +00:00
const-string v5, "must-revalidate"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_b
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
const/4 v15, 0x1
2019-02-04 20:29:01 +00:00
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_b
2019-02-04 20:29:01 +00:00
const-string v5, "max-stale"
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_c
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const v2, 0x7fffffff
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v0, v2}, Lokhttp3/internal/c/e;->l(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v16
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_c
2019-02-04 20:29:01 +00:00
const-string v5, "min-fresh"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v5, :cond_d
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/4 v5, -0x1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v0, v5}, Lokhttp3/internal/c/e;->l(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
move-result v17
2019-02-04 20:29:01 +00:00
move v2, v3
move-object/from16 v0, p0
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_d
2019-02-04 20:29:01 +00:00
const/4 v5, -0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const-string v0, "only-if-cached"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v0, :cond_e
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v18, 0x1
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_e
2019-02-04 20:29:01 +00:00
const-string v0, "no-transform"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v0, :cond_f
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
const/16 v19, 0x1
2019-02-04 20:29:01 +00:00
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_f
2019-02-04 20:29:01 +00:00
const-string v0, "immutable"
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-virtual {v0, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
if-eqz v0, :cond_10
2019-02-04 20:08:30 +00:00
const/16 v20, 0x1
:cond_10
2019-02-04 20:29:01 +00:00
move v2, v3
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto/16 :goto_2
2019-02-04 20:08:30 +00:00
:cond_11
2019-02-04 20:29:01 +00:00
const/4 v5, -0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_5
:cond_12
const/4 v5, -0x1
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_5
2019-02-04 20:08:30 +00:00
add-int/lit8 v6, v6, 0x1
2019-02-04 20:29:01 +00:00
move-object/from16 v0, p0
2019-02-04 20:08:30 +00:00
goto/16 :goto_0
2019-02-04 20:29:01 +00:00
:cond_13
if-nez v7, :cond_14
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
const/16 v21, 0x0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_6
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:cond_14
move-object/from16 v21, v8
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_6
2019-02-04 20:08:30 +00:00
new-instance v0, Lokhttp3/d;
2019-02-04 20:29:01 +00:00
move-object v8, v0
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
invoke-direct/range {v8 .. v21}, Lokhttp3/d;-><init>(ZZIIZZZIIZZZLjava/lang/String;)V
2019-02-04 20:08:30 +00:00
return-object v0
.end method
# virtual methods
.method public final toString()Ljava/lang/String;
.locals 3
2019-02-27 00:16:35 +00:00
iget-object v0, p0, Lokhttp3/d;->biZ:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
return-object v0
:cond_0
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2019-02-27 00:16:35 +00:00
iget-boolean v1, p0, Lokhttp3/d;->biO:Z
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_1
const-string v1, "no-cache, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
2019-02-27 00:16:35 +00:00
iget-boolean v1, p0, Lokhttp3/d;->biP:Z
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_2
const-string v1, "no-store, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_2
2019-02-27 00:16:35 +00:00
iget v1, p0, Lokhttp3/d;->biQ:I
2019-02-04 20:08:30 +00:00
const/4 v2, -0x1
if-eq v1, v2, :cond_3
const-string v1, "max-age="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-27 00:16:35 +00:00
iget v1, p0, Lokhttp3/d;->biQ:I
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_3
2019-02-27 00:16:35 +00:00
iget v1, p0, Lokhttp3/d;->biR:I
2019-02-04 20:08:30 +00:00
if-eq v1, v2, :cond_4
const-string v1, "s-maxage="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-27 00:16:35 +00:00
iget v1, p0, Lokhttp3/d;->biR:I
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_4
2019-02-27 00:16:35 +00:00
iget-boolean v1, p0, Lokhttp3/d;->biS:Z
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_5
const-string v1, "private, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_5
2019-02-27 00:16:35 +00:00
iget-boolean v1, p0, Lokhttp3/d;->biT:Z
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_6
const-string v1, "public, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_6
2019-02-27 00:16:35 +00:00
iget-boolean v1, p0, Lokhttp3/d;->biU:Z
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_7
const-string v1, "must-revalidate, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_7
2019-02-27 00:16:35 +00:00
iget v1, p0, Lokhttp3/d;->biV:I
2019-02-04 20:08:30 +00:00
if-eq v1, v2, :cond_8
const-string v1, "max-stale="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-27 00:16:35 +00:00
iget v1, p0, Lokhttp3/d;->biV:I
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_8
2019-02-27 00:16:35 +00:00
iget v1, p0, Lokhttp3/d;->biW:I
2019-02-04 20:08:30 +00:00
if-eq v1, v2, :cond_9
const-string v1, "min-fresh="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-02-27 00:16:35 +00:00
iget v1, p0, Lokhttp3/d;->biW:I
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_9
2019-02-27 00:16:35 +00:00
iget-boolean v1, p0, Lokhttp3/d;->biX:Z
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_a
const-string v1, "only-if-cached, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_a
2019-02-27 00:16:35 +00:00
iget-boolean v1, p0, Lokhttp3/d;->biY:Z
2019-02-04 20:08:30 +00:00
if-eqz v1, :cond_b
const-string v1, "no-transform, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_b
iget-boolean v1, p0, Lokhttp3/d;->immutable:Z
if-eqz v1, :cond_c
const-string v1, "immutable, "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_c
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
move-result v1
if-nez v1, :cond_d
const-string v0, ""
goto :goto_0
:cond_d
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
move-result v1
add-int/lit8 v1, v1, -0x2
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
move-result v2
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
:goto_0
2019-02-27 00:16:35 +00:00
iput-object v0, p0, Lokhttp3/d;->biZ:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
return-object v0
.end method