114 lines
2.4 KiB
Smali
114 lines
2.4 KiB
Smali
.class final Lokhttp3/d$a;
|
|
.super Lokhttp3/aa;
|
|
.source "Cache.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lokhttp3/d;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final cjU:Lokio/g;
|
|
|
|
.field final cjV:Lokhttp3/internal/a/d$d;
|
|
|
|
.field private final cjW:Ljava/lang/String;
|
|
|
|
.field private final cjX:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lokhttp3/internal/a/d$d;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string v0, "snapshot"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0}, Lokhttp3/aa;-><init>()V
|
|
|
|
iput-object p1, p0, Lokhttp3/d$a;->cjV:Lokhttp3/internal/a/d$d;
|
|
|
|
iput-object p2, p0, Lokhttp3/d$a;->cjW:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lokhttp3/d$a;->cjX:Ljava/lang/String;
|
|
|
|
iget-object p1, p0, Lokhttp3/d$a;->cjV:Lokhttp3/internal/a/d$d;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-virtual {p1, p2}, Lokhttp3/internal/a/d$d;->fV(I)Lokio/x;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Lokhttp3/d$a$1;
|
|
|
|
invoke-direct {p2, p0, p1, p1}, Lokhttp3/d$a$1;-><init>(Lokhttp3/d$a;Lokio/x;Lokio/x;)V
|
|
|
|
check-cast p2, Lokio/x;
|
|
|
|
invoke-static {p2}, Lokio/n;->c(Lokio/x;)Lokio/g;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lokhttp3/d$a;->cjU:Lokio/g;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final PE()Lokio/g;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/d$a;->cjU:Lokio/g;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final contentLength()J
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lokhttp3/d$a;->cjX:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {v0}, Lokhttp3/internal/b;->fy(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, -0x1
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final contentType()Lokhttp3/MediaType;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lokhttp3/d$a;->cjW:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sget-object v1, Lokhttp3/MediaType;->cow:Lokhttp3/MediaType$a;
|
|
|
|
invoke-static {v0}, Lokhttp3/MediaType$a;->fm(Ljava/lang/String;)Lokhttp3/MediaType;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|