.class public abstract Lokhttp3/RequestBody; .super Ljava/lang/Object; .source "RequestBody.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lokhttp3/RequestBody$Companion; } .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\u0008&\u0018\u0000 \u000e2\u00020\u0001:\u0001\u000eB\u0005\u00a2\u0006\u0002\u0010\u0002J\u0008\u0010\u0003\u001a\u00020\u0004H\u0016J\n\u0010\u0005\u001a\u0004\u0018\u00010\u0006H&J\u0008\u0010\u0007\u001a\u00020\u0008H\u0016J\u0008\u0010\t\u001a\u00020\u0008H\u0016J\u0010\u0010\n\u001a\u00020\u000b2\u0006\u0010\u000c\u001a\u00020\rH&\u00a8\u0006\u000f" } d2 = { "Lokhttp3/RequestBody;", "", "()V", "contentLength", "", "contentType", "Lokhttp3/MediaType;", "isDuplex", "", "isOneShot", "writeTo", "", "sink", "Lokio/BufferedSink;", "Companion", "okhttp" } k = 0x1 mv = { 0x1, 0x4, 0x0 } .end annotation # static fields .field public static final Companion:Lokhttp3/RequestBody$Companion; # direct methods .method static constructor ()V .locals 2 new-instance v0, Lokhttp3/RequestBody$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Lokhttp3/RequestBody$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; return-void .end method .method public constructor ()V .locals 0 .line 28 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static final create(Ljava/io/File;Lokhttp3/MediaType;)Lokhttp3/RequestBody; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->create(Ljava/io/File;Lokhttp3/MediaType;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create(Ljava/lang/String;Lokhttp3/MediaType;)Lokhttp3/RequestBody; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->create(Ljava/lang/String;Lokhttp3/MediaType;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create(Lokhttp3/MediaType;Ljava/io/File;)Lokhttp3/RequestBody; .locals 1 .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->WARNING:Lkotlin/DeprecationLevel; message = "Moved to extension function. Put the \'file\' argument first to fix Java" replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "file.asRequestBody(contentType)" imports = { "okhttp3.RequestBody.Companion.asRequestBody" } .end subannotation .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->create(Lokhttp3/MediaType;Ljava/io/File;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create(Lokhttp3/MediaType;Ljava/lang/String;)Lokhttp3/RequestBody; .locals 1 .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->WARNING:Lkotlin/DeprecationLevel; message = "Moved to extension function. Put the \'content\' argument first to fix Java" replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "content.toRequestBody(contentType)" imports = { "okhttp3.RequestBody.Companion.toRequestBody" } .end subannotation .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->create(Lokhttp3/MediaType;Ljava/lang/String;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create(Lokhttp3/MediaType;Lokio/ByteString;)Lokhttp3/RequestBody; .locals 1 .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->WARNING:Lkotlin/DeprecationLevel; message = "Moved to extension function. Put the \'content\' argument first to fix Java" replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "content.toRequestBody(contentType)" imports = { "okhttp3.RequestBody.Companion.toRequestBody" } .end subannotation .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->create(Lokhttp3/MediaType;Lokio/ByteString;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create(Lokhttp3/MediaType;[B)Lokhttp3/RequestBody; .locals 7 .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->WARNING:Lkotlin/DeprecationLevel; message = "Moved to extension function. Put the \'content\' argument first to fix Java" replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "content.toRequestBody(contentType, offset, byteCount)" imports = { "okhttp3.RequestBody.Companion.toRequestBody" } .end subannotation .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; const/4 v3, 0x0 const/4 v4, 0x0 const/16 v5, 0xc const/4 v6, 0x0 move-object v1, p0 move-object v2, p1 invoke-static/range {v0 .. v6}, Lokhttp3/RequestBody$Companion;->create$default(Lokhttp3/RequestBody$Companion;Lokhttp3/MediaType;[BIIILjava/lang/Object;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create(Lokhttp3/MediaType;[BI)Lokhttp3/RequestBody; .locals 7 .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->WARNING:Lkotlin/DeprecationLevel; message = "Moved to extension function. Put the \'content\' argument first to fix Java" replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "content.toRequestBody(contentType, offset, byteCount)" imports = { "okhttp3.RequestBody.Companion.toRequestBody" } .end subannotation .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; const/4 v4, 0x0 const/16 v5, 0x8 const/4 v6, 0x0 move-object v1, p0 move-object v2, p1 move v3, p2 invoke-static/range {v0 .. v6}, Lokhttp3/RequestBody$Companion;->create$default(Lokhttp3/RequestBody$Companion;Lokhttp3/MediaType;[BIIILjava/lang/Object;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create(Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody; .locals 1 .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->WARNING:Lkotlin/DeprecationLevel; message = "Moved to extension function. Put the \'content\' argument first to fix Java" replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "content.toRequestBody(contentType, offset, byteCount)" imports = { "okhttp3.RequestBody.Companion.toRequestBody" } .end subannotation .end annotation .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; invoke-virtual {v0, p0, p1, p2, p3}, Lokhttp3/RequestBody$Companion;->create(Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create(Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; invoke-virtual {v0, p0, p1}, Lokhttp3/RequestBody$Companion;->create(Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create([B)Lokhttp3/RequestBody; .locals 7 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; const/4 v2, 0x0 const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x7 const/4 v6, 0x0 move-object v1, p0 invoke-static/range {v0 .. v6}, Lokhttp3/RequestBody$Companion;->create$default(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;IIILjava/lang/Object;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create([BLokhttp3/MediaType;)Lokhttp3/RequestBody; .locals 7 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x6 const/4 v6, 0x0 move-object v1, p0 move-object v2, p1 invoke-static/range {v0 .. v6}, Lokhttp3/RequestBody$Companion;->create$default(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;IIILjava/lang/Object;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create([BLokhttp3/MediaType;I)Lokhttp3/RequestBody; .locals 7 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; const/4 v4, 0x0 const/4 v5, 0x4 const/4 v6, 0x0 move-object v1, p0 move-object v2, p1 move v3, p2 invoke-static/range {v0 .. v6}, Lokhttp3/RequestBody$Companion;->create$default(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;IIILjava/lang/Object;)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method .method public static final create([BLokhttp3/MediaType;II)Lokhttp3/RequestBody; .locals 1 .annotation runtime Lkotlin/jvm/JvmStatic; .end annotation sget-object v0, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion; invoke-virtual {v0, p0, p1, p2, p3}, Lokhttp3/RequestBody$Companion;->create([BLokhttp3/MediaType;II)Lokhttp3/RequestBody; move-result-object p0 return-object p0 .end method # virtual methods .method public contentLength()J .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation const-wide/16 v0, -0x1 return-wide v0 .end method .method public abstract contentType()Lokhttp3/MediaType; .end method .method public isDuplex()Z .locals 0 const/4 p0, 0x0 return p0 .end method .method public isOneShot()Z .locals 0 const/4 p0, 0x0 return p0 .end method .method public abstract writeTo(Lokio/BufferedSink;)V .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .end method