正在查看: Aisle v12.32 应用的 PreSignedApiService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Aisle v12.32 应用的 PreSignedApiService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.aisle.app.data.api;
import Fb.y;
import Ja.i;
import Ja.j;
import java.util.concurrent.TimeUnit;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import okhttp3.ConnectionPool;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import org.jetbrains.annotations.NotNull;
@Metadata
public final class PreSignedApiService {
@NotNull
public static final PreSignedApiService INSTANCE = new PreSignedApiService();
@NotNull
private static final i client$delegate = j.b(new Function0() {
public final Object invoke() {
PreSignedApi client_delegate$lambda$0;
client_delegate$lambda$0 = PreSignedApiService.client_delegate$lambda$0();
return client_delegate$lambda$0;
}
});
private PreSignedApiService() {
}
public static final PreSignedApi client_delegate$lambda$0() {
HttpLoggingInterceptor httpLoggingInterceptor = new HttpLoggingInterceptor((HttpLoggingInterceptor.Logger) null, 1, (DefaultConstructorMarker) null);
httpLoggingInterceptor.level(HttpLoggingInterceptor.Level.NONE);
OkHttpClient.Builder builder = new OkHttpClient.Builder();
TimeUnit timeUnit = TimeUnit.SECONDS;
return (PreSignedApi) new y.b().b("https://app.aisle.co/V1/").a(Gb.a.f()).f(builder.connectTimeout(30L, timeUnit).readTimeout(30L, timeUnit).connectionPool(new ConnectionPool(5, 5L, TimeUnit.MINUTES)).retryOnConnectionFailure(true).addInterceptor(httpLoggingInterceptor).build()).d().b(PreSignedApi.class);
}
@NotNull
public final PreSignedApi getClient() {
Object value = client$delegate.getValue();
Intrinsics.checkNotNullExpressionValue(value, "getValue(...)");
return (PreSignedApi) value;
}
}