.class abstract Lokhttp3/internal/http1/Http1Codec$AbstractSource; .super Ljava/lang/Object; .source "Http1Codec.java" # interfaces .implements Lokio/Source; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lokhttp3/internal/http1/Http1Codec; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x402 name = "AbstractSource" .end annotation # instance fields .field protected final a:Lokio/ForwardingTimeout; .field protected b:Z .field final synthetic c:Lokhttp3/internal/http1/Http1Codec; # direct methods .method private constructor (Lokhttp3/internal/http1/Http1Codec;)V .locals 1 .line 343 iput-object p1, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; invoke-direct {p0}, Ljava/lang/Object;->()V .line 344 new-instance p1, Lokio/ForwardingTimeout; iget-object v0, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; iget-object v0, v0, Lokhttp3/internal/http1/Http1Codec;->c:Lokio/BufferedSource; invoke-interface {v0}, Lokio/BufferedSource;->timeout()Lokio/Timeout; move-result-object v0 invoke-direct {p1, v0}, Lokio/ForwardingTimeout;->(Lokio/Timeout;)V iput-object p1, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->a:Lokio/ForwardingTimeout; return-void .end method .method synthetic constructor (Lokhttp3/internal/http1/Http1Codec;Lokhttp3/internal/http1/Http1Codec$1;)V .locals 0 .line 343 invoke-direct {p0, p1}, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->(Lokhttp3/internal/http1/Http1Codec;)V return-void .end method # virtual methods .method protected final a(Z)V .locals 3 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 356 iget-object v0, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; iget v0, v0, Lokhttp3/internal/http1/Http1Codec;->e:I const/4 v1, 0x6 if-ne v0, v1, :cond_0 return-void .line 357 :cond_0 iget-object v0, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; iget v0, v0, Lokhttp3/internal/http1/Http1Codec;->e:I const/4 v2, 0x5 if-ne v0, v2, :cond_2 .line 359 iget-object v0, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; iget-object v2, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->a:Lokio/ForwardingTimeout; invoke-virtual {v0, v2}, Lokhttp3/internal/http1/Http1Codec;->a(Lokio/ForwardingTimeout;)V .line 361 iget-object v0, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; iput v1, v0, Lokhttp3/internal/http1/Http1Codec;->e:I .line 362 iget-object v0, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; iget-object v0, v0, Lokhttp3/internal/http1/Http1Codec;->b:Lokhttp3/internal/connection/StreamAllocation; if-eqz v0, :cond_1 .line 363 iget-object v0, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; iget-object v0, v0, Lokhttp3/internal/http1/Http1Codec;->b:Lokhttp3/internal/connection/StreamAllocation; xor-int/lit8 p1, p1, 0x1 iget-object v1, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; invoke-virtual {v0, p1, v1}, Lokhttp3/internal/connection/StreamAllocation;->a(ZLokhttp3/internal/http/HttpCodec;)V :cond_1 return-void .line 357 :cond_2 new-instance p1, Ljava/lang/IllegalStateException; new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "state: " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->c:Lokhttp3/internal/http1/Http1Codec; iget v1, v1, Lokhttp3/internal/http1/Http1Codec;->e:I invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 .end method .method public timeout()Lokio/Timeout; .locals 1 .line 348 iget-object v0, p0, Lokhttp3/internal/http1/Http1Codec$AbstractSource;->a:Lokio/ForwardingTimeout; return-object v0 .end method