导航菜单

页面标题

页面副标题

凤凰之城 v1.0.3 - d.java 源代码

正在查看: 凤凰之城 v1.0.3 应用的 d.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package b;

import android.content.Context;
import com.alibaba.sdk.android.oss.common.utils.OSSUtils;
import com.alibaba.sdk.android.oss.internal.e;
import com.bykv.vk.component.ttvideo.medialoader.MediaLoaderWrapper;
import f.f;
import f.g;
import java.net.URI;
import java.net.URISyntaxException;

public class d implements b {

    public URI f224a;

    public e.b f225b;

    public com.alibaba.sdk.android.oss.internal.d f226c;

    public com.alibaba.sdk.android.oss.internal.b f227d;

    public a f228e;

    public d(Context context, String str, e.b bVar, a aVar) {
        d.d.m(context.getApplicationContext(), aVar);
        try {
            String trim = str.trim();
            if (!trim.startsWith("http")) {
                trim = MediaLoaderWrapper.HTTP_PROTO_PREFIX + trim;
            }
            URI uri = new URI(trim);
            this.f224a = uri;
            if (bVar == null) {
                throw new IllegalArgumentException("CredentialProvider can't be null.");
            }
            Boolean bool = Boolean.FALSE;
            try {
                bool = Boolean.valueOf(OSSUtils.p(uri.getHost()));
            } catch (Exception e2) {
                e2.printStackTrace();
            }
            if (this.f224a.getScheme().equals("https") && bool.booleanValue()) {
                throw new IllegalArgumentException("endpoint should not be format with https://ip.");
            }
            this.f225b = bVar;
            this.f228e = aVar == null ? a.d() : aVar;
            this.f226c = new com.alibaba.sdk.android.oss.internal.d(context.getApplicationContext(), this.f224a, bVar, this.f228e);
            this.f227d = new com.alibaba.sdk.android.oss.internal.b(this.f226c);
        } catch (URISyntaxException unused) {
            throw new IllegalArgumentException("Endpoint must be a string like 'http://oss-cn-****.aliyuncs.com',or your cname like 'http://image.cnamedomain.com'!");
        }
    }

    @Override
    public e<g> a(f fVar, c.a<f, g> aVar) {
        return this.f226c.h(fVar, aVar);
    }
}