Files
rr3-apk/decompiled/sources/com/ea/nimble/IHttpRequest.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

85 lines
2.3 KiB
Java

package com.ea.nimble;
import java.net.URL;
import java.util.Map;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.client.methods.HttpHead;
import org.apache.http.client.methods.HttpPut;
/* loaded from: classes2.dex */
public interface IHttpRequest {
byte[] getData();
Map<String, String> getHeaders();
Method getMethod();
boolean getRunInBackground();
String getTargetFilePath();
double getTimeout();
URL getUrl();
/* renamed from: com.ea.nimble.IHttpRequest$1, reason: invalid class name */
public static /* synthetic */ class AnonymousClass1 {
static final /* synthetic */ int[] $SwitchMap$com$ea$nimble$IHttpRequest$Method;
static {
int[] iArr = new int[Method.values().length];
$SwitchMap$com$ea$nimble$IHttpRequest$Method = iArr;
try {
iArr[Method.GET.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
$SwitchMap$com$ea$nimble$IHttpRequest$Method[Method.HEAD.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
$SwitchMap$com$ea$nimble$IHttpRequest$Method[Method.POST.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
$SwitchMap$com$ea$nimble$IHttpRequest$Method[Method.PUT.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
$SwitchMap$com$ea$nimble$IHttpRequest$Method[Method.DELETE.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
}
}
public enum Method {
GET,
HEAD,
POST,
PUT,
DELETE,
UNRECOGNIZED;
@Override // java.lang.Enum
public String toString() {
int i = AnonymousClass1.$SwitchMap$com$ea$nimble$IHttpRequest$Method[ordinal()];
if (i == 1) {
return "GET";
}
if (i == 2) {
return HttpHead.METHOD_NAME;
}
if (i == 3) {
return "POST";
}
if (i == 4) {
return HttpPut.METHOD_NAME;
}
if (i != 5) {
return null;
}
return HttpDelete.METHOD_NAME;
}
}
}