tmap/smali_classes6/retrofit2/OkHttpCall$NoContentResponseBody.smali
2022-06-10 21:38:30 +09:00

78 lines
1.8 KiB
Smali

.class final Lretrofit2/OkHttpCall$NoContentResponseBody;
.super Lokhttp3/ResponseBody;
.source "OkHttpCall.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lretrofit2/OkHttpCall;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "NoContentResponseBody"
.end annotation
# instance fields
.field private final contentLength:J
.field private final contentType:Lokhttp3/MediaType;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method public constructor <init>(Lokhttp3/MediaType;J)V
.locals 0
.param p1 # Lokhttp3/MediaType;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.line 1
invoke-direct {p0}, Lokhttp3/ResponseBody;-><init>()V
.line 2
iput-object p1, p0, Lretrofit2/OkHttpCall$NoContentResponseBody;->contentType:Lokhttp3/MediaType;
.line 3
iput-wide p2, p0, Lretrofit2/OkHttpCall$NoContentResponseBody;->contentLength:J
return-void
.end method
# virtual methods
.method public contentLength()J
.locals 2
.line 1
iget-wide v0, p0, Lretrofit2/OkHttpCall$NoContentResponseBody;->contentLength:J
return-wide v0
.end method
.method public contentType()Lokhttp3/MediaType;
.locals 1
.line 1
iget-object v0, p0, Lretrofit2/OkHttpCall$NoContentResponseBody;->contentType:Lokhttp3/MediaType;
return-object v0
.end method
.method public source()Lzj/o;
.locals 2
.line 1
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Cannot read raw response body of a converted body."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method