h.smali

.class public final Lokhttp3/internal/http/h;
.super Lokhttp3/J;
.source "RealResponseBody.java"


# instance fields
.field private final a:Ljava/lang/String;

.field private final b:J

.field private final c:Lokio/BufferedSource;


# direct methods
.method public constructor <init>(Ljava/lang/String;JLokio/BufferedSource;)V
    .registers 5

    .line 1
    invoke-direct {p0}, Lokhttp3/J;-><init>()V

    .line 2
    iput-object p1, p0, Lokhttp3/internal/http/h;->a:Ljava/lang/String;

    .line 3
    iput-wide p2, p0, Lokhttp3/internal/http/h;->b:J

    .line 4
    iput-object p4, p0, Lokhttp3/internal/http/h;->c:Lokio/BufferedSource;

    return-void
.end method


# virtual methods
.method public contentLength()J
    .registers 3

    .line 1
    iget-wide v0, p0, Lokhttp3/internal/http/h;->b:J

    return-wide v0
.end method

.method public contentType()Lokhttp3/w;
    .registers 2

    .line 1
    iget-object v0, p0, Lokhttp3/internal/http/h;->a:Ljava/lang/String;

    if-eqz v0, :cond_9

    invoke-static {v0}, Lokhttp3/w;->b(Ljava/lang/String;)Lokhttp3/w;

    move-result-object v0

    goto :goto_a

    :cond_9
    const/4 v0, 0x0

    :goto_a
    return-object v0
.end method

.method public source()Lokio/BufferedSource;
    .registers 2

    .line 1
    iget-object v0, p0, Lokhttp3/internal/http/h;->c:Lokio/BufferedSource;

    return-object v0
.end method