132 lines
3.7 KiB
Smali
132 lines
3.7 KiB
Smali
.class synthetic Lcom/amplifyframework/api/aws/utils/RestRequestFactory$1;
|
|
.super Ljava/lang/Object;
|
|
.source "RestRequestFactory.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/amplifyframework/api/aws/utils/RestRequestFactory;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1009
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $SwitchMap$com$amplifyframework$api$rest$HttpMethod:[I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-static {}, Lcom/amplifyframework/api/rest/HttpMethod;->values()[Lcom/amplifyframework/api/rest/HttpMethod;
|
|
|
|
move-result-object v0
|
|
|
|
array-length v0, v0
|
|
|
|
new-array v0, v0, [I
|
|
|
|
sput-object v0, Lcom/amplifyframework/api/aws/utils/RestRequestFactory$1;->$SwitchMap$com$amplifyframework$api$rest$HttpMethod:[I
|
|
|
|
:try_start_0
|
|
sget-object v1, Lcom/amplifyframework/api/rest/HttpMethod;->GET:Lcom/amplifyframework/api/rest/HttpMethod;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput v2, v0, v1
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
:try_start_1
|
|
sget-object v0, Lcom/amplifyframework/api/aws/utils/RestRequestFactory$1;->$SwitchMap$com$amplifyframework$api$rest$HttpMethod:[I
|
|
|
|
sget-object v1, Lcom/amplifyframework/api/rest/HttpMethod;->PUT:Lcom/amplifyframework/api/rest/HttpMethod;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput v2, v0, v1
|
|
:try_end_1
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
:catch_1
|
|
:try_start_2
|
|
sget-object v0, Lcom/amplifyframework/api/aws/utils/RestRequestFactory$1;->$SwitchMap$com$amplifyframework$api$rest$HttpMethod:[I
|
|
|
|
sget-object v1, Lcom/amplifyframework/api/rest/HttpMethod;->POST:Lcom/amplifyframework/api/rest/HttpMethod;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput v2, v0, v1
|
|
:try_end_2
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
:catch_2
|
|
:try_start_3
|
|
sget-object v0, Lcom/amplifyframework/api/aws/utils/RestRequestFactory$1;->$SwitchMap$com$amplifyframework$api$rest$HttpMethod:[I
|
|
|
|
sget-object v1, Lcom/amplifyframework/api/rest/HttpMethod;->HEAD:Lcom/amplifyframework/api/rest/HttpMethod;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput v2, v0, v1
|
|
:try_end_3
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_3
|
|
|
|
:catch_3
|
|
:try_start_4
|
|
sget-object v0, Lcom/amplifyframework/api/aws/utils/RestRequestFactory$1;->$SwitchMap$com$amplifyframework$api$rest$HttpMethod:[I
|
|
|
|
sget-object v1, Lcom/amplifyframework/api/rest/HttpMethod;->PATCH:Lcom/amplifyframework/api/rest/HttpMethod;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x5
|
|
|
|
aput v2, v0, v1
|
|
:try_end_4
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_4
|
|
|
|
:catch_4
|
|
:try_start_5
|
|
sget-object v0, Lcom/amplifyframework/api/aws/utils/RestRequestFactory$1;->$SwitchMap$com$amplifyframework$api$rest$HttpMethod:[I
|
|
|
|
sget-object v1, Lcom/amplifyframework/api/rest/HttpMethod;->DELETE:Lcom/amplifyframework/api/rest/HttpMethod;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x6
|
|
|
|
aput v2, v0, v1
|
|
:try_end_5
|
|
.catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_5
|
|
|
|
:catch_5
|
|
return-void
|
|
.end method
|