2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lokhttp3/internal/a/c;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "CacheStrategy.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/internal/a/c$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-03-16 01:04:31 +00:00
|
|
|
.field public final boI:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
.field public final bpw:Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Lokhttp3/w;Lokhttp3/Response;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/a/c;->bpw:Lokhttp3/w;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iput-object p2, p0, Lokhttp3/internal/a/c;->boI:Lokhttp3/Response;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Lokhttp3/Response;Lokhttp3/w;)Z
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget v0, p0, Lokhttp3/Response;->code:I
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:sswitch_0
|
|
|
|
const-string v0, "Expires"
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-virtual {p0, v0}, Lokhttp3/Response;->dl(Ljava/lang/String;)Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-03-08 06:19:26 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/Response;->AD()Lokhttp3/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iget v0, v0, Lokhttp3/d;->bjF:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v2, -0x1
|
|
|
|
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
|
2019-03-08 06:19:26 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/Response;->AD()Lokhttp3/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/d;->bjI:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-03-08 06:19:26 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/Response;->AD()Lokhttp3/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/d;->bjH:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:sswitch_1
|
2019-03-08 06:19:26 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/Response;->AD()Lokhttp3/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iget-boolean p0, p0, Lokhttp3/d;->bjE:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
|
2019-03-08 06:19:26 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/w;->AD()Lokhttp3/d;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-03-16 01:04:31 +00:00
|
|
|
iget-boolean p0, p0, Lokhttp3/d;->bjE:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
|
|
|
|
const/4 p0, 0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_1
|
2019-02-04 20:29:01 +00:00
|
|
|
return v1
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:goto_0
|
|
|
|
return v1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
nop
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:sswitch_data_0
|
|
|
|
.sparse-switch
|
|
|
|
0xc8 -> :sswitch_1
|
|
|
|
0xcb -> :sswitch_1
|
|
|
|
0xcc -> :sswitch_1
|
|
|
|
0x12c -> :sswitch_1
|
|
|
|
0x12d -> :sswitch_1
|
|
|
|
0x12e -> :sswitch_0
|
|
|
|
0x133 -> :sswitch_0
|
|
|
|
0x134 -> :sswitch_1
|
|
|
|
0x194 -> :sswitch_1
|
|
|
|
0x195 -> :sswitch_1
|
|
|
|
0x19a -> :sswitch_1
|
|
|
|
0x19e -> :sswitch_1
|
|
|
|
0x1f5 -> :sswitch_1
|
|
|
|
.end sparse-switch
|
|
|
|
.end method
|