导航菜单

页面标题

页面副标题

Clean Center v0.5.5 - pa.java 源代码

正在查看: Clean Center v0.5.5 应用的 pa.java JAVA 源代码文件

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


package com.applovin.impl;

import com.applovin.exoplayer2.common.base.Ascii;
import com.applovin.impl.h5;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.SocketTimeoutException;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public interface pa extends h5 {

    public interface b extends h5.a {
        @Override
        pa a();
    }

    public static final class f {
        private final Map a = new HashMap();
        private Map b;

        public synchronized Map a() {
            if (this.b == null) {
                this.b = Collections.unmodifiableMap(new HashMap(this.a));
            }
            return this.b;
        }
    }

    public static class c extends i5 {
        public final k5 b;
        public final int c;

        private static int a(int i, int i2) {
            if (i == 2000 && i2 == 1) {
                return 2001;
            }
            return i;
        }

        public static c a(IOException iOException, k5 k5Var, int i) {
            int i2;
            String message = iOException.getMessage();
            if (iOException instanceof SocketTimeoutException) {
                i2 = 2002;
            } else if (iOException instanceof InterruptedIOException) {
                i2 = 1004;
            } else {
                i2 = (message == null || !Ascii.toLowerCase(message).matches("cleartext.*not permitted.*")) ? 2001 : 2007;
            }
            if (i2 == 2007) {
                return new a(iOException, k5Var);
            }
            return new c(iOException, k5Var, i2, i);
        }

        public c(k5 k5Var, int i, int i2) {
            super(a(i, i2));
            this.b = k5Var;
            this.c = i2;
        }

        public c(IOException iOException, k5 k5Var, int i, int i2) {
            super(iOException, a(i, i2));
            this.b = k5Var;
            this.c = i2;
        }

        public c(String str, k5 k5Var, int i, int i2) {
            super(str, a(i, i2));
            this.b = k5Var;
            this.c = i2;
        }

        public c(String str, IOException iOException, k5 k5Var, int i, int i2) {
            super(str, iOException, a(i, i2));
            this.b = k5Var;
            this.c = i2;
        }
    }

    public static final class a extends c {
        public a(IOException iOException, k5 k5Var) {
            super("Cleartext HTTP traffic not permitted. See https://exoplayer.dev/issues/cleartext-not-permitted", iOException, k5Var, 2007, 1);
        }
    }

    public static final class d extends c {
        public final String d;

        public d(String str, k5 k5Var) {
            super("Invalid content type: " + str, k5Var, 2003, 1);
            this.d = str;
        }
    }

    public static final class e extends c {
        public final int d;
        public final String f;
        public final Map g;
        public final byte[] h;

        public e(int i, String str, IOException iOException, Map map, k5 k5Var, byte[] bArr) {
            super("Response code: " + i, iOException, k5Var, 2004, 1);
            this.d = i;
            this.f = str;
            this.g = map;
            this.h = bArr;
        }
    }
}