You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
186 lines
3.8 KiB
186 lines
3.8 KiB
2 years ago
|
.class public final Lokhttp3/Challenge;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Challenge.java"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private final realm:Ljava/lang/String;
|
||
|
|
||
|
.field private final scheme:Ljava/lang/String;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 25
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
.line 26
|
||
|
iput-object p1, p0, Lokhttp3/Challenge;->scheme:Ljava/lang/String;
|
||
|
|
||
|
.line 27
|
||
|
iput-object p2, p0, Lokhttp3/Challenge;->realm:Ljava/lang/String;
|
||
|
|
||
|
.line 28
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public equals(Ljava/lang/Object;)Z
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 41
|
||
|
instance-of v0, p1, Lokhttp3/Challenge;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v1, p0, Lokhttp3/Challenge;->scheme:Ljava/lang/String;
|
||
|
|
||
|
move-object v0, p1
|
||
|
|
||
|
check-cast v0, Lokhttp3/Challenge;
|
||
|
|
||
|
iget-object v0, v0, Lokhttp3/Challenge;->scheme:Ljava/lang/String;
|
||
|
|
||
|
.line 42
|
||
|
invoke-static {v1, v0}, Lokhttp3/internal/Util;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lokhttp3/Challenge;->realm:Ljava/lang/String;
|
||
|
|
||
|
check-cast p1, Lokhttp3/Challenge;
|
||
|
|
||
|
iget-object v1, p1, Lokhttp3/Challenge;->realm:Ljava/lang/String;
|
||
|
|
||
|
.line 43
|
||
|
invoke-static {v0, v1}, Lokhttp3/internal/Util;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
:goto_0
|
||
|
return v0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|
||
|
|
||
|
.method public hashCode()I
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
.line 47
|
||
|
.line 48
|
||
|
iget-object v0, p0, Lokhttp3/Challenge;->realm:Ljava/lang/String;
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Lokhttp3/Challenge;->realm:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
:goto_0
|
||
|
add-int/lit16 v0, v0, 0x383
|
||
|
|
||
|
.line 49
|
||
|
mul-int/lit8 v0, v0, 0x1f
|
||
|
|
||
|
iget-object v2, p0, Lokhttp3/Challenge;->scheme:Ljava/lang/String;
|
||
|
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
iget-object v1, p0, Lokhttp3/Challenge;->scheme:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
:cond_0
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
.line 50
|
||
|
return v0
|
||
|
|
||
|
:cond_1
|
||
|
move v0, v1
|
||
|
|
||
|
.line 48
|
||
|
goto :goto_0
|
||
|
.end method
|
||
|
|
||
|
.method public realm()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 37
|
||
|
iget-object v0, p0, Lokhttp3/Challenge;->realm:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public scheme()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 32
|
||
|
iget-object v0, p0, Lokhttp3/Challenge;->scheme:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 54
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
iget-object v1, p0, Lokhttp3/Challenge;->scheme:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const-string v1, " realm=\""
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Lokhttp3/Challenge;->realm:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const-string v1, "\""
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|