643 lines
14 KiB
Smali
643 lines
14 KiB
Smali
.class public final Lokhttp3/m;
|
|
.super Ljava/lang/Object;
|
|
.source "Cookie.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/m$a;,
|
|
Lokhttp3/m$b;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final cnA:Lokhttp3/m$b;
|
|
|
|
.field private static final cnw:Ljava/util/regex/Pattern;
|
|
|
|
.field private static final cnx:Ljava/util/regex/Pattern;
|
|
|
|
.field private static final cny:Ljava/util/regex/Pattern;
|
|
|
|
.field private static final cnz:Ljava/util/regex/Pattern;
|
|
|
|
|
|
# instance fields
|
|
.field private final cnr:J
|
|
|
|
.field private final cns:Z
|
|
|
|
.field private final cnt:Z
|
|
|
|
.field private final cnu:Z
|
|
|
|
.field private final cnv:Z
|
|
|
|
.field private final domain:Ljava/lang/String;
|
|
|
|
.field public final name:Ljava/lang/String;
|
|
|
|
.field private final path:Ljava/lang/String;
|
|
|
|
.field public final value:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lokhttp3/m$b;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lokhttp3/m$b;-><init>(B)V
|
|
|
|
sput-object v0, Lokhttp3/m;->cnA:Lokhttp3/m$b;
|
|
|
|
const-string v0, "(\\d{2,4})[^\\d]*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lokhttp3/m;->cnw:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lokhttp3/m;->cnx:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "(\\d{1,2})[^\\d]*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lokhttp3/m;->cny:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*"
|
|
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lokhttp3/m;->cnz:Ljava/util/regex/Pattern;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;ZZZZ)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lokhttp3/m;->name:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lokhttp3/m;->value:Ljava/lang/String;
|
|
|
|
iput-wide p3, p0, Lokhttp3/m;->cnr:J
|
|
|
|
iput-object p5, p0, Lokhttp3/m;->domain:Ljava/lang/String;
|
|
|
|
iput-object p6, p0, Lokhttp3/m;->path:Ljava/lang/String;
|
|
|
|
iput-boolean p7, p0, Lokhttp3/m;->cns:Z
|
|
|
|
iput-boolean p8, p0, Lokhttp3/m;->cnt:Z
|
|
|
|
iput-boolean p9, p0, Lokhttp3/m;->cnu:Z
|
|
|
|
iput-boolean p10, p0, Lokhttp3/m;->cnv:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;ZZZZB)V
|
|
.locals 0
|
|
|
|
invoke-direct/range {p0 .. p10}, Lokhttp3/m;-><init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;ZZZZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic PY()Ljava/util/regex/Pattern;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/m;->cnz:Ljava/util/regex/Pattern;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic PZ()Ljava/util/regex/Pattern;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/m;->cny:Ljava/util/regex/Pattern;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic Qa()Ljava/util/regex/Pattern;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/m;->cnx:Ljava/util/regex/Pattern;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic Qb()Ljava/util/regex/Pattern;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/m;->cnw:Ljava/util/regex/Pattern;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final PR()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lokhttp3/m;->cnr:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final PS()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/m;->domain:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final PT()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/m;->path:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final PU()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lokhttp3/m;->cns:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final PV()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lokhttp3/m;->cnt:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final PW()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lokhttp3/m;->cnu:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final PX()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lokhttp3/m;->cnv:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final c(Lokhttp3/v;)Z
|
|
.locals 7
|
|
|
|
const-string v0, "url"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-boolean v0, p0, Lokhttp3/m;->cnv:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p1, Lokhttp3/v;->coe:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->domain:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p1, Lokhttp3/v;->coe:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->domain:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lokhttp3/m$b;->ah(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lokhttp3/m;->path:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1}, Lokhttp3/v;->Qq()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2, v0}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
:goto_1
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v5, 0x2
|
|
|
|
invoke-static {v2, v0, v1, v5, v3}, Lkotlin/text/l;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
const-string v6, "/"
|
|
|
|
invoke-static {v0, v6, v1, v5, v3}, Lkotlin/text/l;->endsWith$default(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v2, 0x2f
|
|
|
|
if-ne v0, v2, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const/4 v0, 0x0
|
|
|
|
:goto_2
|
|
if-nez v0, :cond_5
|
|
|
|
return v1
|
|
|
|
:cond_5
|
|
iget-boolean v0, p0, Lokhttp3/m;->cns:Z
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
iget-boolean p1, p1, Lokhttp3/v;->coc:Z
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
return v1
|
|
|
|
:cond_7
|
|
:goto_3
|
|
return v4
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 5
|
|
|
|
instance-of v0, p1, Lokhttp3/m;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lokhttp3/m;
|
|
|
|
iget-object v0, p1, Lokhttp3/m;->name:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->name:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p1, Lokhttp3/m;->value:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->value:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-wide v0, p1, Lokhttp3/m;->cnr:J
|
|
|
|
iget-wide v2, p0, Lokhttp3/m;->cnr:J
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
iget-object v0, p1, Lokhttp3/m;->domain:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->domain:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p1, Lokhttp3/m;->path:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->path:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p1, Lokhttp3/m;->cns:Z
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cns:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p1, Lokhttp3/m;->cnt:Z
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cnt:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p1, Lokhttp3/m;->cnu:Z
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cnu:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean p1, p1, Lokhttp3/m;->cnv:Z
|
|
|
|
iget-boolean v0, p0, Lokhttp3/m;->cnv:Z
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lokhttp3/m;->name:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
add-int/lit16 v0, v0, 0x20f
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->value:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-wide v1, p0, Lokhttp3/m;->cnr:J
|
|
|
|
invoke-static {v1, v2}, L$r8$java8methods$utility$Long$hashCode$IJ;->hashCode(J)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->domain:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->path:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cns:Z
|
|
|
|
invoke-static {v1}, L$r8$java8methods$utility$Boolean$hashCode$IZ;->hashCode(Z)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cnt:Z
|
|
|
|
invoke-static {v1}, L$r8$java8methods$utility$Boolean$hashCode$IZ;->hashCode(Z)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cnu:Z
|
|
|
|
invoke-static {v1}, L$r8$java8methods$utility$Boolean$hashCode$IZ;->hashCode(Z)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cnv:Z
|
|
|
|
invoke-static {v1}, L$r8$java8methods$utility$Boolean$hashCode$IZ;->hashCode(Z)I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final name()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/m;->name:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 6
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->name:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x3d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->value:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cnu:Z
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-wide v1, p0, Lokhttp3/m;->cnr:J
|
|
|
|
const-wide/high16 v3, -0x8000000000000000L
|
|
|
|
cmp-long v5, v1, v3
|
|
|
|
if-nez v5, :cond_0
|
|
|
|
const-string v1, "; max-age=0"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "; expires="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
new-instance v1, Ljava/util/Date;
|
|
|
|
iget-wide v2, p0, Lokhttp3/m;->cnr:J
|
|
|
|
invoke-direct {v1, v2, v3}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-static {v1}, Lokhttp3/internal/c/c;->c(Ljava/util/Date;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_1
|
|
:goto_0
|
|
iget-boolean v1, p0, Lokhttp3/m;->cnv:Z
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
const-string v1, "; domain="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->domain:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_2
|
|
const-string v1, "; path="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lokhttp3/m;->path:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lokhttp3/m;->cns:Z
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
const-string v1, "; secure"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_3
|
|
iget-boolean v1, p0, Lokhttp3/m;->cnt:Z
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
const-string v1, "; httponly"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:cond_4
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "toString()"
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final value()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lokhttp3/m;->value:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|