public class org.apache.http.conn.EofSensorInputStream extends java.io.InputStream implements org.apache.http.conn.ConnectionReleaseTrigger
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.http.conn.EofSensorInputStream
  super_class: java.io.InputStream
{
  protected java.io.InputStream wrappedStream;
    descriptor: Ljava/io/InputStream;
    flags: (0x0004) ACC_PROTECTED

  private boolean selfClosed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private final org.apache.http.conn.EofSensorWatcher eofWatcher;
    descriptor: Lorg/apache/http/conn/EofSensorWatcher;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.io.InputStream, org.apache.http.conn.EofSensorWatcher);
    descriptor: (Ljava/io/InputStream;Lorg/apache/http/conn/EofSensorWatcher;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.apache.http.conn.EofSensorInputStream this
        start local 1 // java.io.InputStream in
        start local 2 // org.apache.http.conn.EofSensorWatcher watcher
         0: .line 80
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 82
            aload 1 /* in */
            ldc "Wrapped stream"
            invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         2: .line 83
            aload 0 /* this */
            aload 1 /* in */
            putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
         3: .line 84
            aload 0 /* this */
            iconst_0
            putfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
         4: .line 85
            aload 0 /* this */
            aload 2 /* watcher */
            putfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
         5: .line 86
            return
        end local 2 // org.apache.http.conn.EofSensorWatcher watcher
        end local 1 // java.io.InputStream in
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lorg/apache/http/conn/EofSensorInputStream;
            0    6     1       in  Ljava/io/InputStream;
            0    6     2  watcher  Lorg/apache/http/conn/EofSensorWatcher;
    MethodParameters:
         Name  Flags
      in       final
      watcher  final

  boolean isSelfClosed();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 89
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
            ireturn
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/http/conn/EofSensorInputStream;

  java.io.InputStream getWrappedStream();
    descriptor: ()Ljava/io/InputStream;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 93
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
            areturn
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/http/conn/EofSensorInputStream;

  protected boolean isReadAllowed();
    descriptor: ()Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 106
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
            ifeq 2
         1: .line 107
            new java.io.IOException
            dup
            ldc "Attempted read on closed stream."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
            ifnull 3
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         3: iconst_0
            ireturn
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/http/conn/EofSensorInputStream;
    Exceptions:
      throws java.io.IOException

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 114
            iconst_m1
            istore 1 /* readLen */
        start local 1 // int readLen
         1: .line 116
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.isReadAllowed:()Z
            ifeq 8
         2: .line 118
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 1 /* readLen */
         3: .line 119
            aload 0 /* this */
            iload 1 /* readLen */
            invokevirtual org.apache.http.conn.EofSensorInputStream.checkEOF:(I)V
         4: .line 120
            goto 8
      StackMap locals: org.apache.http.conn.EofSensorInputStream int
      StackMap stack: java.io.IOException
         5: astore 2 /* ex */
        start local 2 // java.io.IOException ex
         6: .line 121
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.checkAbort:()V
         7: .line 122
            aload 2 /* ex */
            athrow
        end local 2 // java.io.IOException ex
         8: .line 126
      StackMap locals:
      StackMap stack:
            iload 1 /* readLen */
            ireturn
        end local 1 // int readLen
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lorg/apache/http/conn/EofSensorInputStream;
            1    9     1  readLen  I
            6    8     2       ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     4       5  Class java.io.IOException
    Exceptions:
      throws java.io.IOException

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // org.apache.http.conn.EofSensorInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 131
            iconst_m1
            istore 4 /* readLen */
        start local 4 // int readLen
         1: .line 133
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.isReadAllowed:()Z
            ifeq 8
         2: .line 135
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* readLen */
         3: .line 136
            aload 0 /* this */
            iload 4 /* readLen */
            invokevirtual org.apache.http.conn.EofSensorInputStream.checkEOF:(I)V
         4: .line 137
            goto 8
      StackMap locals: org.apache.http.conn.EofSensorInputStream byte[] int int int
      StackMap stack: java.io.IOException
         5: astore 5 /* ex */
        start local 5 // java.io.IOException ex
         6: .line 138
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.checkAbort:()V
         7: .line 139
            aload 5 /* ex */
            athrow
        end local 5 // java.io.IOException ex
         8: .line 143
      StackMap locals:
      StackMap stack:
            iload 4 /* readLen */
            ireturn
        end local 4 // int readLen
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0     this  Lorg/apache/http/conn/EofSensorInputStream;
            0    9     1        b  [B
            0    9     2      off  I
            0    9     3      len  I
            1    9     4  readLen  I
            6    8     5       ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     4       5  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     final
      off   final
      len   final

  public int read(byte[]);
    descriptor: ([B)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.apache.http.conn.EofSensorInputStream this
        start local 1 // byte[] b
         0: .line 148
            aload 0 /* this */
            aload 1 /* b */
            iconst_0
            aload 1 /* b */
            arraylength
            invokevirtual org.apache.http.conn.EofSensorInputStream.read:([BII)I
            ireturn
        end local 1 // byte[] b
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/http/conn/EofSensorInputStream;
            0    1     1     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     final

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 153
            iconst_0
            istore 1 /* a */
        start local 1 // int a
         1: .line 155
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.isReadAllowed:()Z
            ifeq 7
         2: .line 157
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.available:()I
            istore 1 /* a */
         3: .line 159
            goto 7
      StackMap locals: org.apache.http.conn.EofSensorInputStream int
      StackMap stack: java.io.IOException
         4: astore 2 /* ex */
        start local 2 // java.io.IOException ex
         5: .line 160
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.checkAbort:()V
         6: .line 161
            aload 2 /* ex */
            athrow
        end local 2 // java.io.IOException ex
         7: .line 165
      StackMap locals:
      StackMap stack:
            iload 1 /* a */
            ireturn
        end local 1 // int a
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/apache/http/conn/EofSensorInputStream;
            1    8     1     a  I
            5    7     2    ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     3       4  Class java.io.IOException
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 171
            aload 0 /* this */
            iconst_1
            putfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
         1: .line 172
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.checkClose:()V
         2: .line 173
            return
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/http/conn/EofSensorInputStream;
    Exceptions:
      throws java.io.IOException

  protected void checkEOF(int);
    descriptor: (I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // org.apache.http.conn.EofSensorInputStream this
        start local 1 // int eof
         0: .line 194
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
            astore 2 /* toCheckStream */
        start local 2 // java.io.InputStream toCheckStream
         1: .line 195
            aload 2 /* toCheckStream */
            ifnull 12
            iload 1 /* eof */
            ifge 12
         2: .line 197
            iconst_1
            istore 3 /* scws */
        start local 3 // boolean scws
         3: .line 198
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
            ifnull 5
         4: .line 199
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
            aload 2 /* toCheckStream */
            invokeinterface org.apache.http.conn.EofSensorWatcher.eofDetected:(Ljava/io/InputStream;)Z
            istore 3 /* scws */
         5: .line 201
      StackMap locals: java.io.InputStream int
      StackMap stack:
            iload 3 /* scws */
            ifeq 11
         6: .line 202
            aload 2 /* toCheckStream */
            invokevirtual java.io.InputStream.close:()V
        end local 3 // boolean scws
         7: .line 204
            goto 11
      StackMap locals: org.apache.http.conn.EofSensorInputStream int java.io.InputStream
      StackMap stack: java.lang.Throwable
         8: astore 4
         9: .line 205
            aload 0 /* this */
            aconst_null
            putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
        10: .line 206
            aload 4
            athrow
        11: .line 205
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
        12: .line 208
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.io.InputStream toCheckStream
        end local 1 // int eof
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   13     0           this  Lorg/apache/http/conn/EofSensorInputStream;
            0   13     1            eof  I
            1   13     2  toCheckStream  Ljava/io/InputStream;
            3    7     3           scws  Z
      Exception table:
        from    to  target  type
           2     8       8  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      eof   final

  protected void checkClose();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 223
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
            astore 1 /* toCloseStream */
        start local 1 // java.io.InputStream toCloseStream
         1: .line 224
            aload 1 /* toCloseStream */
            ifnull 12
         2: .line 226
            iconst_1
            istore 2 /* scws */
        start local 2 // boolean scws
         3: .line 227
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
            ifnull 5
         4: .line 228
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
            aload 1 /* toCloseStream */
            invokeinterface org.apache.http.conn.EofSensorWatcher.streamClosed:(Ljava/io/InputStream;)Z
            istore 2 /* scws */
         5: .line 230
      StackMap locals: java.io.InputStream int
      StackMap stack:
            iload 2 /* scws */
            ifeq 11
         6: .line 231
            aload 1 /* toCloseStream */
            invokevirtual java.io.InputStream.close:()V
        end local 2 // boolean scws
         7: .line 233
            goto 11
      StackMap locals: org.apache.http.conn.EofSensorInputStream java.io.InputStream
      StackMap stack: java.lang.Throwable
         8: astore 3
         9: .line 234
            aload 0 /* this */
            aconst_null
            putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
        10: .line 235
            aload 3
            athrow
        11: .line 234
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
        12: .line 237
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.io.InputStream toCloseStream
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   13     0           this  Lorg/apache/http/conn/EofSensorInputStream;
            1   13     1  toCloseStream  Ljava/io/InputStream;
            3    7     2           scws  Z
      Exception table:
        from    to  target  type
           2     8       8  any
    Exceptions:
      throws java.io.IOException

  protected void checkAbort();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 254
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
            astore 1 /* toAbortStream */
        start local 1 // java.io.InputStream toAbortStream
         1: .line 255
            aload 1 /* toAbortStream */
            ifnull 12
         2: .line 257
            iconst_1
            istore 2 /* scws */
        start local 2 // boolean scws
         3: .line 258
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
            ifnull 5
         4: .line 259
            aload 0 /* this */
            getfield org.apache.http.conn.EofSensorInputStream.eofWatcher:Lorg/apache/http/conn/EofSensorWatcher;
            aload 1 /* toAbortStream */
            invokeinterface org.apache.http.conn.EofSensorWatcher.streamAbort:(Ljava/io/InputStream;)Z
            istore 2 /* scws */
         5: .line 261
      StackMap locals: java.io.InputStream int
      StackMap stack:
            iload 2 /* scws */
            ifeq 11
         6: .line 262
            aload 1 /* toAbortStream */
            invokevirtual java.io.InputStream.close:()V
        end local 2 // boolean scws
         7: .line 264
            goto 11
      StackMap locals: org.apache.http.conn.EofSensorInputStream java.io.InputStream
      StackMap stack: java.lang.Throwable
         8: astore 3
         9: .line 265
            aload 0 /* this */
            aconst_null
            putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
        10: .line 266
            aload 3
            athrow
        11: .line 265
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.apache.http.conn.EofSensorInputStream.wrappedStream:Ljava/io/InputStream;
        12: .line 268
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.io.InputStream toAbortStream
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   13     0           this  Lorg/apache/http/conn/EofSensorInputStream;
            1   13     1  toAbortStream  Ljava/io/InputStream;
            3    7     2           scws  Z
      Exception table:
        from    to  target  type
           2     8       8  any
    Exceptions:
      throws java.io.IOException

  public void releaseConnection();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 275
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.close:()V
         1: .line 276
            return
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/http/conn/EofSensorInputStream;
    Exceptions:
      throws java.io.IOException

  public void abortConnection();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.http.conn.EofSensorInputStream this
         0: .line 288
            aload 0 /* this */
            iconst_1
            putfield org.apache.http.conn.EofSensorInputStream.selfClosed:Z
         1: .line 289
            aload 0 /* this */
            invokevirtual org.apache.http.conn.EofSensorInputStream.checkAbort:()V
         2: .line 290
            return
        end local 0 // org.apache.http.conn.EofSensorInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/http/conn/EofSensorInputStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "EofSensorInputStream.java"