ResponseBody$1.smali 1.8 KB
.class Lcom/dwx/okhttp3/ResponseBody$1;
.super Lcom/dwx/okhttp3/ResponseBody;
.source "ResponseBody.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/dwx/okhttp3/ResponseBody;->create(Lcom/dwx/okhttp3/MediaType;JLcom/dwx/okio/BufferedSource;)Lcom/dwx/okhttp3/ResponseBody;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic val$content:Lcom/dwx/okio/BufferedSource;

.field final synthetic val$contentLength:J

.field final synthetic val$contentType:Lcom/dwx/okhttp3/MediaType;


# direct methods
.method constructor <init>(Lcom/dwx/okhttp3/MediaType;JLcom/dwx/okio/BufferedSource;)V
    .locals 0

    .line 217
    iput-object p1, p0, Lcom/dwx/okhttp3/ResponseBody$1;->val$contentType:Lcom/dwx/okhttp3/MediaType;

    iput-wide p2, p0, Lcom/dwx/okhttp3/ResponseBody$1;->val$contentLength:J

    iput-object p4, p0, Lcom/dwx/okhttp3/ResponseBody$1;->val$content:Lcom/dwx/okio/BufferedSource;

    invoke-direct {p0}, Lcom/dwx/okhttp3/ResponseBody;-><init>()V

    return-void
.end method


# virtual methods
.method public contentLength()J
    .locals 2

    .line 223
    iget-wide v0, p0, Lcom/dwx/okhttp3/ResponseBody$1;->val$contentLength:J

    return-wide v0
.end method

.method public contentType()Lcom/dwx/okhttp3/MediaType;
    .locals 1
    .annotation runtime Ljavax/annotation/Nullable;
    .end annotation

    .line 219
    iget-object v0, p0, Lcom/dwx/okhttp3/ResponseBody$1;->val$contentType:Lcom/dwx/okhttp3/MediaType;

    return-object v0
.end method

.method public source()Lcom/dwx/okio/BufferedSource;
    .locals 1

    .line 227
    iget-object v0, p0, Lcom/dwx/okhttp3/ResponseBody$1;->val$content:Lcom/dwx/okio/BufferedSource;

    return-object v0
.end method