.class public final Lokhttp3/internal/http/StatusLine; .super Ljava/lang/Object; .source "StatusLine.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lokhttp3/internal/http/StatusLine$Companion; } .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0004\u0018\u0000 \n2\u00020\u0001:\u0001\nB\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0002\u0010\u0008J\u0008\u0010\t\u001a\u00020\u0007H\u0016R\u0010\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0006\u001a\u00020\u00078\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000b" } d2 = { "Lokhttp3/internal/http/StatusLine;", "", "protocol", "Lokhttp3/Protocol;", "code", "", "message", "", "(Lokhttp3/Protocol;ILjava/lang/String;)V", "toString", "Companion", "okhttp" } k = 0x1 mv = { 0x1, 0x4, 0x0 } .end annotation # static fields .field public static final Companion:Lokhttp3/internal/http/StatusLine$Companion; .field public static final HTTP_CONTINUE:I = 0x64 .field public static final HTTP_MISDIRECTED_REQUEST:I = 0x1a5 .field public static final HTTP_PERM_REDIRECT:I = 0x134 .field public static final HTTP_TEMP_REDIRECT:I = 0x133 # instance fields .field public final code:I .field public final message:Ljava/lang/String; .field public final protocol:Lokhttp3/Protocol; # direct methods .method static constructor ()V .locals 2 new-instance v0, Lokhttp3/internal/http/StatusLine$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Lokhttp3/internal/http/StatusLine$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lokhttp3/internal/http/StatusLine;->Companion:Lokhttp3/internal/http/StatusLine$Companion; return-void .end method .method public constructor (Lokhttp3/Protocol;ILjava/lang/String;)V .locals 1 const-string v0, "protocol" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "message" invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 24 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lokhttp3/internal/http/StatusLine;->protocol:Lokhttp3/Protocol; iput p2, p0, Lokhttp3/internal/http/StatusLine;->code:I iput-object p3, p0, Lokhttp3/internal/http/StatusLine;->message:Ljava/lang/String; return-void .end method # virtual methods .method public toString()Ljava/lang/String; .locals 4 .line 31 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V iget-object v1, p0, Lokhttp3/internal/http/StatusLine;->protocol:Lokhttp3/Protocol; .line 32 sget-object v2, Lokhttp3/Protocol;->HTTP_1_0:Lokhttp3/Protocol; if-ne v1, v2, :cond_0 const-string v1, "HTTP/1.0" .line 33 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; goto :goto_0 :cond_0 const-string v1, "HTTP/1.1" .line 35 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; :goto_0 const/16 v1, 0x20 .line 37 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object v2 iget v3, p0, Lokhttp3/internal/http/StatusLine;->code:I invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; .line 38 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object v1 iget-object p0, p0, Lokhttp3/internal/http/StatusLine;->message:Ljava/lang/String; invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 31 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 const-string v0, "StringBuilder().apply(builderAction).toString()" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V return-object p0 .end method