mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
263 lines
6.5 KiB
Smali
263 lines
6.5 KiB
Smali
.class public final enum Lokhttp3/Protocol;
|
|
.super Ljava/lang/Enum;
|
|
.source "Protocol.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/Protocol$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lokhttp3/Protocol;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {
|
|
0x1,
|
|
0x0,
|
|
0x3
|
|
}
|
|
d1 = {
|
|
"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\n\u0008\u0086\u0001\u0018\u0000 \u000c2\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u000cB\u000f\u0008\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\u0008\u0010\u0005\u001a\u00020\u0003H\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000j\u0002\u0008\u0006j\u0002\u0008\u0007j\u0002\u0008\u0008j\u0002\u0008\tj\u0002\u0008\nj\u0002\u0008\u000b\u00a8\u0006\r"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/Protocol;",
|
|
"",
|
|
"protocol",
|
|
"",
|
|
"(Ljava/lang/String;ILjava/lang/String;)V",
|
|
"toString",
|
|
"HTTP_1_0",
|
|
"HTTP_1_1",
|
|
"SPDY_3",
|
|
"HTTP_2",
|
|
"H2_PRIOR_KNOWLEDGE",
|
|
"QUIC",
|
|
"Companion",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final synthetic $VALUES:[Lokhttp3/Protocol;
|
|
|
|
.field public static final Companion:Lokhttp3/Protocol$Companion;
|
|
|
|
.field public static final enum H2_PRIOR_KNOWLEDGE:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum HTTP_1_0:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum HTTP_1_1:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum HTTP_2:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum QUIC:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum SPDY_3:Lokhttp3/Protocol;
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "OkHttp has dropped support for SPDY. Prefer {@link #HTTP_2}."
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private final protocol:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 9
|
|
|
|
new-instance v0, Lokhttp3/Protocol;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-string v2, "http/1.0"
|
|
|
|
const-string v3, "HTTP_1_0"
|
|
|
|
.line 35
|
|
invoke-direct {v0, v3, v1, v2}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
sput-object v0, Lokhttp3/Protocol;->HTTP_1_0:Lokhttp3/Protocol;
|
|
|
|
new-instance v1, Lokhttp3/Protocol;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-string v3, "http/1.1"
|
|
|
|
const-string v4, "HTTP_1_1"
|
|
|
|
.line 44
|
|
invoke-direct {v1, v4, v2, v3}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
sput-object v1, Lokhttp3/Protocol;->HTTP_1_1:Lokhttp3/Protocol;
|
|
|
|
new-instance v2, Lokhttp3/Protocol;
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const-string v4, "spdy/3.1"
|
|
|
|
const-string v5, "SPDY_3"
|
|
|
|
.line 53
|
|
invoke-direct {v2, v5, v3, v4}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
sput-object v2, Lokhttp3/Protocol;->SPDY_3:Lokhttp3/Protocol;
|
|
|
|
new-instance v3, Lokhttp3/Protocol;
|
|
|
|
const/4 v4, 0x3
|
|
|
|
const-string v5, "h2"
|
|
|
|
const-string v6, "HTTP_2"
|
|
|
|
.line 64
|
|
invoke-direct {v3, v6, v4, v5}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
sput-object v3, Lokhttp3/Protocol;->HTTP_2:Lokhttp3/Protocol;
|
|
|
|
new-instance v4, Lokhttp3/Protocol;
|
|
|
|
const/4 v5, 0x4
|
|
|
|
const-string v6, "h2_prior_knowledge"
|
|
|
|
const-string v7, "H2_PRIOR_KNOWLEDGE"
|
|
|
|
.line 74
|
|
invoke-direct {v4, v7, v5, v6}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
sput-object v4, Lokhttp3/Protocol;->H2_PRIOR_KNOWLEDGE:Lokhttp3/Protocol;
|
|
|
|
new-instance v5, Lokhttp3/Protocol;
|
|
|
|
const/4 v6, 0x5
|
|
|
|
const-string v7, "quic"
|
|
|
|
const-string v8, "QUIC"
|
|
|
|
.line 84
|
|
invoke-direct {v5, v8, v6, v7}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
sput-object v5, Lokhttp3/Protocol;->QUIC:Lokhttp3/Protocol;
|
|
|
|
filled-new-array/range {v0 .. v5}, [Lokhttp3/Protocol;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lokhttp3/Protocol;->$VALUES:[Lokhttp3/Protocol;
|
|
|
|
new-instance v0, Lokhttp3/Protocol$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lokhttp3/Protocol$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lokhttp3/Protocol;->Companion:Lokhttp3/Protocol$Companion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 31
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
iput-object p3, p0, Lokhttp3/Protocol;->protocol:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getProtocol$p(Lokhttp3/Protocol;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 31
|
|
iget-object p0, p0, Lokhttp3/Protocol;->protocol:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final get(Ljava/lang/String;)Lokhttp3/Protocol;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/jvm/JvmStatic;
|
|
.end annotation
|
|
|
|
sget-object v0, Lokhttp3/Protocol;->Companion:Lokhttp3/Protocol$Companion;
|
|
|
|
invoke-virtual {v0, p0}, Lokhttp3/Protocol$Companion;->get(Ljava/lang/String;)Lokhttp3/Protocol;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lokhttp3/Protocol;
|
|
.locals 1
|
|
|
|
const-class v0, Lokhttp3/Protocol;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lokhttp3/Protocol;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lokhttp3/Protocol;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/Protocol;->$VALUES:[Lokhttp3/Protocol;
|
|
|
|
invoke-virtual {v0}, [Lokhttp3/Protocol;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lokhttp3/Protocol;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lokhttp3/Protocol;->protocol:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|