package okhttp3.n0.http;

import kotlin.Metadata;
import kotlin.jvm.internal.o;
import okhttp3.MediaType;
import okhttp3.ResponseBody;
import okio.BufferedSource;

/* JADX INFO: renamed from: y.n0.h.h, reason: from Kotlin metadata */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\u001f\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0002\u0010\bJ\b\u0010\u0004\u001a\u00020\u0005H\u0016J\n\u0010\t\u001a\u0004\u0018\u00010\nH\u0016J\b\u0010\u0006\u001a\u00020\u0007H\u0016R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lokhttp3/internal/http/RealResponseBody;", "Lokhttp3/ResponseBody;", "contentTypeString", "", "contentLength", "", "source", "Lokio/BufferedSource;", "(Ljava/lang/String;JLokio/BufferedSource;)V", "contentType", "Lokhttp3/MediaType;", "okhttp"}, k = 1, mv = {1, 6, 0}, xi = 48)
public final class RealResponseBody extends ResponseBody {

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

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

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final BufferedSource f9836o;

    public RealResponseBody(String str, long j2, BufferedSource bufferedSource) {
        o.f(bufferedSource, "source");
        this.f9834m = str;
        this.f9835n = j2;
        this.f9836o = bufferedSource;
    }

    @Override // okhttp3.ResponseBody
    /* JADX INFO: renamed from: a, reason: from getter */
    public long getF9835n() {
        return this.f9835n;
    }

    @Override // okhttp3.ResponseBody
    /* JADX INFO: renamed from: c */
    public MediaType getF9667m() {
        String str = this.f9834m;
        if (str == null) {
            return null;
        }
        MediaType.a aVar = MediaType.a;
        return MediaType.a.b(str);
    }

    @Override // okhttp3.ResponseBody
    /* JADX INFO: renamed from: e, reason: from getter */
    public BufferedSource getF9836o() {
        return this.f9836o;
    }
}
