jimu-decompiled/sources/retrofit2/CallAdapter.java
2025-05-13 19:24:51 +02:00

26 lines
709 B
Java

package retrofit2;
import java.lang.annotation.Annotation;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
/* loaded from: classes2.dex */
public interface CallAdapter<R, T> {
public static abstract class Factory {
protected static Type getParameterUpperBound(int i, ParameterizedType parameterizedType) {
return Utils.getParameterUpperBound(i, parameterizedType);
}
protected static Class<?> getRawType(Type type) {
return Utils.getRawType(type);
}
public abstract CallAdapter<?, ?> get(Type type, Annotation[] annotationArr, Retrofit retrofit);
}
T adapt(Call<R> call);
Type responseType();
}