359 lines
10 KiB
Smali
359 lines
10 KiB
Smali
.class public final enum Lokhttp3/internal/http2/ErrorCode;
|
|
.super Ljava/lang/Enum;
|
|
.source "ErrorCode.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/internal/http2/ErrorCode$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lokhttp3/internal/http2/ErrorCode;",
|
|
">;"
|
|
}
|
|
.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\u0008\n\u0002\u0008\u0013\u0008\u0086\u0001\u0018\u0000 \u00152\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0015B\u000f\u0008\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0005\u0010\u0006j\u0002\u0008\u0007j\u0002\u0008\u0008j\u0002\u0008\tj\u0002\u0008\nj\u0002\u0008\u000bj\u0002\u0008\u000cj\u0002\u0008\rj\u0002\u0008\u000ej\u0002\u0008\u000fj\u0002\u0008\u0010j\u0002\u0008\u0011j\u0002\u0008\u0012j\u0002\u0008\u0013j\u0002\u0008\u0014\u00a8\u0006\u0016"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/internal/http2/ErrorCode;",
|
|
"",
|
|
"httpCode",
|
|
"",
|
|
"(Ljava/lang/String;II)V",
|
|
"getHttpCode",
|
|
"()I",
|
|
"NO_ERROR",
|
|
"PROTOCOL_ERROR",
|
|
"INTERNAL_ERROR",
|
|
"FLOW_CONTROL_ERROR",
|
|
"SETTINGS_TIMEOUT",
|
|
"STREAM_CLOSED",
|
|
"FRAME_SIZE_ERROR",
|
|
"REFUSED_STREAM",
|
|
"CANCEL",
|
|
"COMPRESSION_ERROR",
|
|
"CONNECT_ERROR",
|
|
"ENHANCE_YOUR_CALM",
|
|
"INADEQUATE_SECURITY",
|
|
"HTTP_1_1_REQUIRED",
|
|
"Companion",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final synthetic $VALUES:[Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum CANCEL:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum COMPRESSION_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum CONNECT_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final Companion:Lokhttp3/internal/http2/ErrorCode$Companion;
|
|
|
|
.field public static final enum ENHANCE_YOUR_CALM:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum FLOW_CONTROL_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum FRAME_SIZE_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum HTTP_1_1_REQUIRED:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum INADEQUATE_SECURITY:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum INTERNAL_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum NO_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum PROTOCOL_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum REFUSED_STREAM:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum SETTINGS_TIMEOUT:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.field public static final enum STREAM_CLOSED:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
|
|
# instance fields
|
|
.field private final httpCode:I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
const/16 v0, 0xe
|
|
|
|
new-array v0, v0, [Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "NO_ERROR"
|
|
|
|
const/4 v3, 0x0
|
|
|
|
.line 1
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->NO_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "PROTOCOL_ERROR"
|
|
|
|
const/4 v3, 0x1
|
|
|
|
.line 2
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->PROTOCOL_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "INTERNAL_ERROR"
|
|
|
|
const/4 v3, 0x2
|
|
|
|
.line 3
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->INTERNAL_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "FLOW_CONTROL_ERROR"
|
|
|
|
const/4 v3, 0x3
|
|
|
|
.line 4
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->FLOW_CONTROL_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "SETTINGS_TIMEOUT"
|
|
|
|
const/4 v3, 0x4
|
|
|
|
.line 5
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->SETTINGS_TIMEOUT:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "STREAM_CLOSED"
|
|
|
|
const/4 v3, 0x5
|
|
|
|
.line 6
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->STREAM_CLOSED:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "FRAME_SIZE_ERROR"
|
|
|
|
const/4 v3, 0x6
|
|
|
|
.line 7
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->FRAME_SIZE_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "REFUSED_STREAM"
|
|
|
|
const/4 v3, 0x7
|
|
|
|
.line 8
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->REFUSED_STREAM:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "CANCEL"
|
|
|
|
const/16 v3, 0x8
|
|
|
|
.line 9
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "COMPRESSION_ERROR"
|
|
|
|
const/16 v3, 0x9
|
|
|
|
.line 10
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->COMPRESSION_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "CONNECT_ERROR"
|
|
|
|
const/16 v3, 0xa
|
|
|
|
.line 11
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->CONNECT_ERROR:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "ENHANCE_YOUR_CALM"
|
|
|
|
const/16 v3, 0xb
|
|
|
|
.line 12
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->ENHANCE_YOUR_CALM:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "INADEQUATE_SECURITY"
|
|
|
|
const/16 v3, 0xc
|
|
|
|
.line 13
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->INADEQUATE_SECURITY:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
new-instance v1, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
const-string v2, "HTTP_1_1_REQUIRED"
|
|
|
|
const/16 v3, 0xd
|
|
|
|
.line 14
|
|
invoke-direct {v1, v2, v3, v3}, Lokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
|
|
|
|
sput-object v1, Lokhttp3/internal/http2/ErrorCode;->HTTP_1_1_REQUIRED:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
sput-object v0, Lokhttp3/internal/http2/ErrorCode;->$VALUES:[Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
new-instance v0, Lokhttp3/internal/http2/ErrorCode$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lokhttp3/internal/http2/ErrorCode$Companion;-><init>(Lkotlin/jvm/internal/u;)V
|
|
|
|
sput-object v0, Lokhttp3/internal/http2/ErrorCode;->Companion:Lokhttp3/internal/http2/ErrorCode$Companion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;II)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
iput p3, p0, Lokhttp3/internal/http2/ErrorCode;->httpCode:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lokhttp3/internal/http2/ErrorCode;
|
|
.locals 1
|
|
|
|
const-class v0, Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
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/internal/http2/ErrorCode;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lokhttp3/internal/http2/ErrorCode;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->$VALUES:[Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
invoke-virtual {v0}, [Lokhttp3/internal/http2/ErrorCode;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getHttpCode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lokhttp3/internal/http2/ErrorCode;->httpCode:I
|
|
|
|
return v0
|
|
.end method
|