package okhttp3.internal.http;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes3.dex */
@kotlin.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", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "contentLength", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "source", "Lokio/BufferedSource;", "(Ljava/lang/String;JLokio/BufferedSource;)V", "contentType", "Lokhttp3/MediaType;", "okhttp"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class RealResponseBody extends okhttp3.ResponseBody {
    private final long contentLength;

    @org.jetbrains.annotations.Nullable
    private final java.lang.String contentTypeString;

    @org.jetbrains.annotations.NotNull
    private final okio.BufferedSource source;

    public RealResponseBody(@org.jetbrains.annotations.Nullable java.lang.String str, long j, @org.jetbrains.annotations.NotNull okio.BufferedSource bufferedSource) {
        kotlin.jvm.internal.Intrinsics.l(bufferedSource, "source");
        this.contentTypeString = str;
        this.contentLength = j;
        this.source = bufferedSource;
    }

    @Override // okhttp3.ResponseBody
    /* JADX INFO: renamed from: contentLength, reason: from getter */
    public long getContentLength() {
        return this.contentLength;
    }

    @Override // okhttp3.ResponseBody
    @org.jetbrains.annotations.Nullable
    /* JADX INFO: renamed from: contentType */
    public okhttp3.MediaType get$contentType() {
        java.lang.String str = this.contentTypeString;
        if (str != null) {
            return okhttp3.MediaType.INSTANCE.parse(str);
        }
        return null;
    }

    @Override // okhttp3.ResponseBody
    @org.jetbrains.annotations.NotNull
    /* JADX INFO: renamed from: source, reason: from getter */
    public okio.BufferedSource getSource() {
        return this.source;
    }
}
