apkfuckery/com.discord/smali/okhttp3/internal/framed/FramedConnection$Reader$1.smali
2019-02-04 21:05:16 +01:00

115 lines
4.2 KiB
Smali

.class Lokhttp3/internal/framed/FramedConnection$Reader$1;
.super Lokhttp3/internal/NamedRunnable;
.source "FramedConnection.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/framed/FramedConnection$Reader;->headers(ZZIILjava/util/List;Lokhttp3/internal/framed/HeadersMode;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lokhttp3/internal/framed/FramedConnection$Reader;
.field final synthetic val$newStream:Lokhttp3/internal/framed/FramedStream;
# direct methods
.method varargs constructor <init>(Lokhttp3/internal/framed/FramedConnection$Reader;Ljava/lang/String;[Ljava/lang/Object;Lokhttp3/internal/framed/FramedStream;)V
.locals 0
.param p1, "this$1" # Lokhttp3/internal/framed/FramedConnection$Reader;
.param p2, "format" # Ljava/lang/String;
.param p3, "args" # [Ljava/lang/Object;
.prologue
iput-object p1, p0, Lokhttp3/internal/framed/FramedConnection$Reader$1;->this$1:Lokhttp3/internal/framed/FramedConnection$Reader;
iput-object p4, p0, Lokhttp3/internal/framed/FramedConnection$Reader$1;->val$newStream:Lokhttp3/internal/framed/FramedStream;
invoke-direct {p0, p2, p3}, Lokhttp3/internal/NamedRunnable;-><init>(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public execute()V
.locals 5
.prologue
:try_start_0
iget-object v1, p0, Lokhttp3/internal/framed/FramedConnection$Reader$1;->this$1:Lokhttp3/internal/framed/FramedConnection$Reader;
iget-object v1, v1, Lokhttp3/internal/framed/FramedConnection$Reader;->this$0:Lokhttp3/internal/framed/FramedConnection;
invoke-static {v1}, Lokhttp3/internal/framed/FramedConnection;->access$2000(Lokhttp3/internal/framed/FramedConnection;)Lokhttp3/internal/framed/FramedConnection$Listener;
move-result-object v1
iget-object v2, p0, Lokhttp3/internal/framed/FramedConnection$Reader$1;->val$newStream:Lokhttp3/internal/framed/FramedStream;
invoke-virtual {v1, v2}, Lokhttp3/internal/framed/FramedConnection$Listener;->onStream(Lokhttp3/internal/framed/FramedStream;)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
:goto_0
return-void
:catch_0
move-exception v0
.local v0, "e":Ljava/io/IOException;
sget-object v1, Lokhttp3/internal/Internal;->logger:Ljava/util/logging/Logger;
sget-object v2, Ljava/util/logging/Level;->INFO:Ljava/util/logging/Level;
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string v4, "FramedConnection.Listener failure for "
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
iget-object v4, p0, Lokhttp3/internal/framed/FramedConnection$Reader$1;->this$1:Lokhttp3/internal/framed/FramedConnection$Reader;
iget-object v4, v4, Lokhttp3/internal/framed/FramedConnection$Reader;->this$0:Lokhttp3/internal/framed/FramedConnection;
invoke-static {v4}, Lokhttp3/internal/framed/FramedConnection;->access$1100(Lokhttp3/internal/framed/FramedConnection;)Ljava/lang/String;
move-result-object v4
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v2, v3, v0}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
:try_start_1
iget-object v1, p0, Lokhttp3/internal/framed/FramedConnection$Reader$1;->val$newStream:Lokhttp3/internal/framed/FramedStream;
sget-object v2, Lokhttp3/internal/framed/ErrorCode;->PROTOCOL_ERROR:Lokhttp3/internal/framed/ErrorCode;
invoke-virtual {v1, v2}, Lokhttp3/internal/framed/FramedStream;->close(Lokhttp3/internal/framed/ErrorCode;)V
:try_end_1
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_0
:catch_1
move-exception v1
goto :goto_0
.end method