导航菜单

页面标题

页面副标题

Dostt v1.0.89 - y.java 源代码

正在查看: Dostt v1.0.89 应用的 y.java JAVA 源代码文件

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


package m8;

import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.SocketTimeoutException;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import m8.InterfaceC1067j;
import s9.AbstractC1328c;

public interface y extends InterfaceC1067j {

    public static abstract class a implements c {
        private final g a = new g();

        @Override
        public final y a() {
            return c(this.a);
        }

        protected abstract y c(g gVar);

        public final c d(Map map) {
            this.a.a(map);
            return this;
        }
    }

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

    public interface c extends InterfaceC1067j.a {
    }

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

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

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

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

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

        public synchronized void a(Map map) {
            this.b = null;
            this.a.clear();
            this.a.putAll(map);
        }

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

    public static class d extends C1068k {
        public final n b;
        public final int c;

        public d(n nVar, int i, int i2) {
            super(b(i, i2));
            this.b = nVar;
            this.c = i2;
        }

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

        public static d c(IOException iOException, n nVar, int i) {
            String message = iOException.getMessage();
            int i2 = iOException instanceof SocketTimeoutException ? 2002 : iOException instanceof InterruptedIOException ? 1004 : (message == null || !AbstractC1328c.e(message).matches("cleartext.*not permitted.*")) ? 2001 : 2007;
            return i2 == 2007 ? new b(iOException, nVar) : new d(iOException, nVar, i2, i);
        }

        public d(String str, n nVar, int i, int i2) {
            super(str, b(i, i2));
            this.b = nVar;
            this.c = i2;
        }

        public d(IOException iOException, n nVar, int i, int i2) {
            super(iOException, b(i, i2));
            this.b = nVar;
            this.c = i2;
        }

        public d(String str, IOException iOException, n nVar, int i, int i2) {
            super(str, iOException, b(i, i2));
            this.b = nVar;
            this.c = i2;
        }
    }
}