2021-08-03 07:33:18 +00:00
|
|
|
package i0;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
import java.lang.reflect.Method;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Objects;
|
|
|
|
import okhttp3.Headers;
|
|
|
|
import okhttp3.MultipartBody;
|
|
|
|
import okhttp3.RequestBody;
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public abstract class t<T> {
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class a<T> extends t<T> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final h<T, RequestBody> f2902c;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
|
|
|
public a(Method method, int i, h<T, RequestBody> hVar) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2902c = hVar;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, T t) {
|
|
|
|
if (t != null) {
|
|
|
|
try {
|
2021-09-07 06:52:02 +00:00
|
|
|
vVar.m = this.f2902c.convert(t);
|
2021-08-03 07:33:18 +00:00
|
|
|
} catch (IOException e) {
|
|
|
|
Method method = this.a;
|
|
|
|
int i = this.b;
|
|
|
|
throw c0.m(method, e, i, "Unable to convert " + ((Object) t) + " to RequestBody", new Object[0]);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
throw c0.l(this.a, this.b, "Body parameter value must not be null.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class b<T> extends t<T> {
|
|
|
|
public final String a;
|
|
|
|
public final h<T, String> b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final boolean f2903c;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
|
|
|
public b(String str, h<T, String> hVar, boolean z2) {
|
|
|
|
Objects.requireNonNull(str, "name == null");
|
|
|
|
this.a = str;
|
|
|
|
this.b = hVar;
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2903c = z2;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, T t) throws IOException {
|
|
|
|
String convert;
|
|
|
|
if (t != null && (convert = this.b.convert(t)) != null) {
|
2021-09-07 06:52:02 +00:00
|
|
|
vVar.a(this.a, convert, this.f2903c);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class c<T> extends t<Map<String, T>> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final h<T, String> f2904c;
|
2021-08-03 07:33:18 +00:00
|
|
|
public final boolean d;
|
|
|
|
|
|
|
|
public c(Method method, int i, h<T, String> hVar, boolean z2) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2904c = hVar;
|
2021-08-03 07:33:18 +00:00
|
|
|
this.d = z2;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: i0.h<T, java.lang.String> */
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, Object obj) throws IOException {
|
|
|
|
Map map = (Map) obj;
|
|
|
|
if (map != null) {
|
|
|
|
for (Map.Entry entry : map.entrySet()) {
|
|
|
|
String str = (String) entry.getKey();
|
|
|
|
if (str != null) {
|
|
|
|
Object value = entry.getValue();
|
|
|
|
if (value != null) {
|
2021-09-07 06:52:02 +00:00
|
|
|
String str2 = (String) this.f2904c.convert(value);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (str2 != null) {
|
|
|
|
vVar.a(str, str2, this.d);
|
|
|
|
} else {
|
|
|
|
Method method = this.a;
|
|
|
|
int i = this.b;
|
2021-09-07 06:52:02 +00:00
|
|
|
throw c0.l(method, i, "Field map value '" + value + "' converted to null by " + this.f2904c.getClass().getName() + " for key '" + str + "'.", new Object[0]);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
} else {
|
2021-08-28 06:29:07 +00:00
|
|
|
throw c0.l(this.a, this.b, c.d.b.a.a.v("Field map contained null value for key '", str, "'."), new Object[0]);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
throw c0.l(this.a, this.b, "Field map contained null key.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
throw c0.l(this.a, this.b, "Field map was null.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class d<T> extends t<T> {
|
|
|
|
public final String a;
|
|
|
|
public final h<T, String> b;
|
|
|
|
|
|
|
|
public d(String str, h<T, String> hVar) {
|
|
|
|
Objects.requireNonNull(str, "name == null");
|
|
|
|
this.a = str;
|
|
|
|
this.b = hVar;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, T t) throws IOException {
|
|
|
|
String convert;
|
|
|
|
if (t != null && (convert = this.b.convert(t)) != null) {
|
|
|
|
vVar.b(this.a, convert);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class e<T> extends t<Map<String, T>> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final h<T, String> f2905c;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
|
|
|
public e(Method method, int i, h<T, String> hVar) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2905c = hVar;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r3v1, resolved type: i0.h<T, java.lang.String> */
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, Object obj) throws IOException {
|
|
|
|
Map map = (Map) obj;
|
|
|
|
if (map != null) {
|
|
|
|
for (Map.Entry entry : map.entrySet()) {
|
|
|
|
String str = (String) entry.getKey();
|
|
|
|
if (str != null) {
|
|
|
|
Object value = entry.getValue();
|
|
|
|
if (value != null) {
|
2021-09-07 06:52:02 +00:00
|
|
|
vVar.b(str, (String) this.f2905c.convert(value));
|
2021-08-03 07:33:18 +00:00
|
|
|
} else {
|
2021-08-28 06:29:07 +00:00
|
|
|
throw c0.l(this.a, this.b, c.d.b.a.a.v("Header map contained null value for key '", str, "'."), new Object[0]);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
throw c0.l(this.a, this.b, "Header map contained null key.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
throw c0.l(this.a, this.b, "Header map was null.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class f extends t<Headers> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
public f(Method method, int i) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [i0.v, java.lang.Object] */
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, Headers headers) throws IOException {
|
|
|
|
Headers headers2 = headers;
|
|
|
|
if (headers2 != null) {
|
|
|
|
Headers.a aVar = vVar.h;
|
|
|
|
Objects.requireNonNull(aVar);
|
|
|
|
d0.z.d.m.checkParameterIsNotNull(headers2, "headers");
|
|
|
|
int size = headers2.size();
|
|
|
|
for (int i = 0; i < size; i++) {
|
|
|
|
aVar.b(headers2.d(i), headers2.g(i));
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
throw c0.l(this.a, this.b, "Headers parameter must not be null.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class g<T> extends t<T> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final Headers f2906c;
|
2021-08-03 07:33:18 +00:00
|
|
|
public final h<T, RequestBody> d;
|
|
|
|
|
|
|
|
public g(Method method, int i, Headers headers, h<T, RequestBody> hVar) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2906c = headers;
|
2021-08-03 07:33:18 +00:00
|
|
|
this.d = hVar;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, T t) {
|
|
|
|
if (t != null) {
|
|
|
|
try {
|
2021-09-07 06:52:02 +00:00
|
|
|
vVar.c(this.f2906c, this.d.convert(t));
|
2021-08-03 07:33:18 +00:00
|
|
|
} catch (IOException e) {
|
|
|
|
Method method = this.a;
|
|
|
|
int i = this.b;
|
|
|
|
throw c0.l(method, i, "Unable to convert " + ((Object) t) + " to RequestBody", e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class h<T> extends t<Map<String, T>> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final h<T, RequestBody> f2907c;
|
2021-08-03 07:33:18 +00:00
|
|
|
public final String d;
|
|
|
|
|
|
|
|
public h(Method method, int i, h<T, RequestBody> hVar, String str) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2907c = hVar;
|
2021-08-03 07:33:18 +00:00
|
|
|
this.d = str;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r3v3, resolved type: i0.h<T, okhttp3.RequestBody> */
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, Object obj) throws IOException {
|
|
|
|
Map map = (Map) obj;
|
|
|
|
if (map != null) {
|
|
|
|
for (Map.Entry entry : map.entrySet()) {
|
|
|
|
String str = (String) entry.getKey();
|
|
|
|
if (str != null) {
|
|
|
|
Object value = entry.getValue();
|
|
|
|
if (value != null) {
|
2021-09-07 06:52:02 +00:00
|
|
|
vVar.c(Headers.i.c("Content-Disposition", c.d.b.a.a.v("form-data; name=\"", str, "\""), "Content-Transfer-Encoding", this.d), (RequestBody) this.f2907c.convert(value));
|
2021-08-03 07:33:18 +00:00
|
|
|
} else {
|
2021-08-28 06:29:07 +00:00
|
|
|
throw c0.l(this.a, this.b, c.d.b.a.a.v("Part map contained null value for key '", str, "'."), new Object[0]);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
throw c0.l(this.a, this.b, "Part map contained null key.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
throw c0.l(this.a, this.b, "Part map was null.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class i<T> extends t<T> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final String f2908c;
|
2021-08-03 07:33:18 +00:00
|
|
|
public final h<T, String> d;
|
|
|
|
public final boolean e;
|
|
|
|
|
|
|
|
public i(Method method, int i, String str, h<T, String> hVar, boolean z2) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
|
|
|
Objects.requireNonNull(str, "name == null");
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2908c = str;
|
2021-08-03 07:33:18 +00:00
|
|
|
this.d = hVar;
|
|
|
|
this.e = z2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, T t) throws IOException {
|
|
|
|
String str;
|
|
|
|
int i;
|
|
|
|
int i2;
|
|
|
|
if (t != null) {
|
2021-09-07 06:52:02 +00:00
|
|
|
String str2 = this.f2908c;
|
2021-08-03 07:33:18 +00:00
|
|
|
String convert = this.d.convert(t);
|
|
|
|
boolean z2 = this.e;
|
|
|
|
if (vVar.e != null) {
|
|
|
|
int length = convert.length();
|
|
|
|
int i3 = 0;
|
|
|
|
while (true) {
|
|
|
|
if (i3 >= length) {
|
|
|
|
str = convert;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
int codePointAt = convert.codePointAt(i3);
|
|
|
|
i = 47;
|
|
|
|
i2 = -1;
|
|
|
|
if (codePointAt < 32 || codePointAt >= 127 || " \"<>^`{}|\\?#".indexOf(codePointAt) != -1 || (!z2 && (codePointAt == 47 || codePointAt == 37))) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
i3 += Character.charCount(codePointAt);
|
|
|
|
}
|
|
|
|
g0.e eVar = new g0.e();
|
|
|
|
eVar.c0(convert, 0, i3);
|
|
|
|
g0.e eVar2 = null;
|
|
|
|
while (i3 < length) {
|
|
|
|
int codePointAt2 = convert.codePointAt(i3);
|
|
|
|
if (!z2 || !(codePointAt2 == 9 || codePointAt2 == 10 || codePointAt2 == 12 || codePointAt2 == 13)) {
|
|
|
|
if (codePointAt2 < 32 || codePointAt2 >= 127 || " \"<>^`{}|\\?#".indexOf(codePointAt2) != i2 || (!z2 && (codePointAt2 == i || codePointAt2 == 37))) {
|
|
|
|
if (eVar2 == null) {
|
|
|
|
eVar2 = new g0.e();
|
|
|
|
}
|
|
|
|
eVar2.e0(codePointAt2);
|
|
|
|
while (!eVar2.v()) {
|
|
|
|
int readByte = eVar2.readByte() & 255;
|
|
|
|
eVar.T(37);
|
|
|
|
char[] cArr = v.a;
|
|
|
|
eVar.T(cArr[(readByte >> 4) & 15]);
|
|
|
|
eVar.T(cArr[readByte & 15]);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
eVar.e0(codePointAt2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
i3 += Character.charCount(codePointAt2);
|
|
|
|
i = 47;
|
|
|
|
i2 = -1;
|
|
|
|
}
|
|
|
|
str = eVar.G();
|
|
|
|
String str3 = vVar.e;
|
|
|
|
String replace = str3.replace("{" + str2 + "}", str);
|
|
|
|
if (!v.b.matcher(replace).matches()) {
|
|
|
|
vVar.e = replace;
|
|
|
|
return;
|
|
|
|
}
|
2021-08-28 06:29:07 +00:00
|
|
|
throw new IllegalArgumentException(c.d.b.a.a.u("@Path parameters shouldn't perform path traversal ('.' or '..'): ", convert));
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
throw new AssertionError();
|
|
|
|
}
|
2021-09-07 06:52:02 +00:00
|
|
|
throw c0.l(this.a, this.b, c.d.b.a.a.H(c.d.b.a.a.P("Path parameter \""), this.f2908c, "\" value must not be null."), new Object[0]);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class j<T> extends t<T> {
|
|
|
|
public final String a;
|
|
|
|
public final h<T, String> b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final boolean f2909c;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
|
|
|
public j(String str, h<T, String> hVar, boolean z2) {
|
|
|
|
Objects.requireNonNull(str, "name == null");
|
|
|
|
this.a = str;
|
|
|
|
this.b = hVar;
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2909c = z2;
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, T t) throws IOException {
|
|
|
|
String convert;
|
|
|
|
if (t != null && (convert = this.b.convert(t)) != null) {
|
2021-09-07 06:52:02 +00:00
|
|
|
vVar.d(this.a, convert, this.f2909c);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class k<T> extends t<Map<String, T>> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
2021-09-07 06:52:02 +00:00
|
|
|
public final h<T, String> f2910c;
|
2021-08-03 07:33:18 +00:00
|
|
|
public final boolean d;
|
|
|
|
|
|
|
|
public k(Method method, int i, h<T, String> hVar, boolean z2) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
2021-09-07 06:52:02 +00:00
|
|
|
this.f2910c = hVar;
|
2021-08-03 07:33:18 +00:00
|
|
|
this.d = z2;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: i0.h<T, java.lang.String> */
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, Object obj) throws IOException {
|
|
|
|
Map map = (Map) obj;
|
|
|
|
if (map != null) {
|
|
|
|
for (Map.Entry entry : map.entrySet()) {
|
|
|
|
String str = (String) entry.getKey();
|
|
|
|
if (str != null) {
|
|
|
|
Object value = entry.getValue();
|
|
|
|
if (value != null) {
|
2021-09-07 06:52:02 +00:00
|
|
|
String str2 = (String) this.f2910c.convert(value);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (str2 != null) {
|
|
|
|
vVar.d(str, str2, this.d);
|
|
|
|
} else {
|
|
|
|
Method method = this.a;
|
|
|
|
int i = this.b;
|
2021-09-07 06:52:02 +00:00
|
|
|
throw c0.l(method, i, "Query map value '" + value + "' converted to null by " + this.f2910c.getClass().getName() + " for key '" + str + "'.", new Object[0]);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
} else {
|
2021-08-28 06:29:07 +00:00
|
|
|
throw c0.l(this.a, this.b, c.d.b.a.a.v("Query map contained null value for key '", str, "'."), new Object[0]);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
throw c0.l(this.a, this.b, "Query map contained null key.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
throw c0.l(this.a, this.b, "Query map was null", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class l<T> extends t<T> {
|
|
|
|
public final h<T, String> a;
|
|
|
|
public final boolean b;
|
|
|
|
|
|
|
|
public l(h<T, String> hVar, boolean z2) {
|
|
|
|
this.a = hVar;
|
|
|
|
this.b = z2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, T t) throws IOException {
|
|
|
|
if (t != null) {
|
|
|
|
vVar.d(this.a.convert(t), null, this.b);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class m extends t<MultipartBody.Part> {
|
|
|
|
public static final m a = new m();
|
|
|
|
|
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [i0.v, java.lang.Object] */
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, MultipartBody.Part part) throws IOException {
|
|
|
|
MultipartBody.Part part2 = part;
|
|
|
|
if (part2 != null) {
|
|
|
|
vVar.k.a(part2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class n extends t<Object> {
|
|
|
|
public final Method a;
|
|
|
|
public final int b;
|
|
|
|
|
|
|
|
public n(Method method, int i) {
|
|
|
|
this.a = method;
|
|
|
|
this.b = i;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, Object obj) {
|
|
|
|
if (obj != null) {
|
|
|
|
Objects.requireNonNull(vVar);
|
|
|
|
vVar.e = obj.toString();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
throw c0.l(this.a, this.b, "@Url parameter is null.", new Object[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* compiled from: ParameterHandler */
|
|
|
|
public static final class o<T> extends t<T> {
|
|
|
|
public final Class<T> a;
|
|
|
|
|
|
|
|
public o(Class<T> cls) {
|
|
|
|
this.a = cls;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // i0.t
|
|
|
|
public void a(v vVar, T t) {
|
|
|
|
vVar.g.e(this.a, t);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public abstract void a(v vVar, T t) throws IOException;
|
|
|
|
}
|