JavaUrlRequest$13.smali

.class Laegon/chrome/net/impl/JavaUrlRequest$13;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic this$0:Laegon/chrome/net/impl/JavaUrlRequest;


# direct methods
.method constructor <init>(Laegon/chrome/net/impl/JavaUrlRequest;)V
    .registers 2

    iput-object p1, p0, Laegon/chrome/net/impl/JavaUrlRequest$13;->this$0:Laegon/chrome/net/impl/JavaUrlRequest;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 3

    iget-object v0, p0, Laegon/chrome/net/impl/JavaUrlRequest$13;->this$0:Laegon/chrome/net/impl/JavaUrlRequest;

    # getter for: Laegon/chrome/net/impl/JavaUrlRequest;->mResponseChannel:Ljava/nio/channels/ReadableByteChannel;
    invoke-static {v0}, Laegon/chrome/net/impl/JavaUrlRequest;->access$1800(Laegon/chrome/net/impl/JavaUrlRequest;)Ljava/nio/channels/ReadableByteChannel;

    move-result-object v0

    if-eqz v0, :cond_17

    :try_start_8
    iget-object v0, p0, Laegon/chrome/net/impl/JavaUrlRequest$13;->this$0:Laegon/chrome/net/impl/JavaUrlRequest;

    # getter for: Laegon/chrome/net/impl/JavaUrlRequest;->mResponseChannel:Ljava/nio/channels/ReadableByteChannel;
    invoke-static {v0}, Laegon/chrome/net/impl/JavaUrlRequest;->access$1800(Laegon/chrome/net/impl/JavaUrlRequest;)Ljava/nio/channels/ReadableByteChannel;

    move-result-object v0

    invoke-interface {v0}, Ljava/nio/channels/ReadableByteChannel;->close()V
    :try_end_11
    .catch Ljava/io/IOException; {:try_start_8 .. :try_end_11} :catch_18

    :goto_11
    iget-object v0, p0, Laegon/chrome/net/impl/JavaUrlRequest$13;->this$0:Laegon/chrome/net/impl/JavaUrlRequest;

    const/4 v1, 0x0

    # setter for: Laegon/chrome/net/impl/JavaUrlRequest;->mResponseChannel:Ljava/nio/channels/ReadableByteChannel;
    invoke-static {v0, v1}, Laegon/chrome/net/impl/JavaUrlRequest;->access$1802(Laegon/chrome/net/impl/JavaUrlRequest;Ljava/nio/channels/ReadableByteChannel;)Ljava/nio/channels/ReadableByteChannel;

    :cond_17
    return-void

    :catch_18
    move-exception v0

    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_11
.end method