package com.google.android.exoplayer2.upstream;

import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import p138.p139.p143.p144.C2803;
import p138.p176.p177.p190.p238.C4098;
import p138.p176.p177.p190.p238.C4104;
import p138.p176.p177.p190.p238.C4107;
import p138.p176.p177.p190.p238.InterfaceC4095;
import p138.p176.p177.p190.p238.InterfaceC4115;

/* JADX INFO: loaded from: classes.dex */
public interface HttpDataSource extends InterfaceC4095 {

    public static class HttpDataSourceException extends IOException {
        public HttpDataSourceException(IOException iOException, C4098 c4098, int i) {
            super(iOException);
        }

        public HttpDataSourceException(String str, IOException iOException, C4098 c4098, int i) {
            super(str, iOException);
        }

        public HttpDataSourceException(String str, C4098 c4098, int i) {
            super(str);
        }
    }

    public static final class InvalidContentTypeException extends HttpDataSourceException {
    }

    public static final class InvalidResponseCodeException extends HttpDataSourceException {

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public final int f1975;

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public final Map<String, List<String>> f1976;

        public InvalidResponseCodeException(int i, String str, Map<String, List<String>> map, C4098 c4098) {
            super(C2803.m4871("Response code: ", i), c4098, 1);
            this.f1975 = i;
            this.f1976 = map;
        }
    }

    /* JADX INFO: renamed from: com.google.android.exoplayer2.upstream.HttpDataSource$֏, reason: contains not printable characters */
    public static abstract class AbstractC0315 implements InterfaceC0316 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final C0317 f1977 = new C0317();

        @Override // p138.p176.p177.p190.p238.InterfaceC4095.InterfaceC4096
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final HttpDataSource mo1286() {
            C4107 c4107 = (C4107) this;
            C4104 c4104 = new C4104(c4107.f13146, c4107.f13148, c4107.f13149, c4107.f13150, this.f1977);
            InterfaceC4115 interfaceC4115 = c4107.f13147;
            if (interfaceC4115 != null) {
                c4104.mo6121(interfaceC4115);
            }
            return c4104;
        }
    }

    /* JADX INFO: renamed from: com.google.android.exoplayer2.upstream.HttpDataSource$ؠ, reason: contains not printable characters */
    public interface InterfaceC0316 extends InterfaceC4095.InterfaceC4096 {
        @Override // p138.p176.p177.p190.p238.InterfaceC4095.InterfaceC4096
        /* JADX INFO: renamed from: ֏ */
        HttpDataSource mo1286();
    }

    /* JADX INFO: renamed from: com.google.android.exoplayer2.upstream.HttpDataSource$ހ, reason: contains not printable characters */
    public static final class C0317 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final Map<String, String> f1978 = new HashMap();

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public Map<String, String> f1979;

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public synchronized Map<String, String> m1287() {
            if (this.f1979 == null) {
                this.f1979 = Collections.unmodifiableMap(new HashMap(this.f1978));
            }
            return this.f1979;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public synchronized void m1288(String str, String str2) {
            this.f1979 = null;
            this.f1978.put(str, str2);
        }
    }
}
