package okhttp3.internal.http;

import okhttp3.MediaType;
import okhttp3.ResponseBody;
import p5.InterfaceC2742l;
import p5.J;

/* JADX INFO: loaded from: classes3.dex */
public final class RealResponseBody extends ResponseBody {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final String f22393b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final long f22394c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final J f22395d;

    public RealResponseBody(String str, long j4, J j6) {
        this.f22393b = str;
        this.f22394c = j4;
        this.f22395d = j6;
    }

    @Override // okhttp3.ResponseBody
    public final long a() {
        return this.f22394c;
    }

    @Override // okhttp3.ResponseBody
    public final MediaType b() {
        String str = this.f22393b;
        if (str == null) {
            return null;
        }
        MediaType.f22043d.getClass();
        return MediaType.Companion.b(str);
    }

    @Override // okhttp3.ResponseBody
    public final InterfaceC2742l c() {
        return this.f22395d;
    }
}
