class sun.net.httpserver.ChunkedInputStream extends sun.net.httpserver.LeftOverInputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.net.httpserver.ChunkedInputStream
  super_class: sun.net.httpserver.LeftOverInputStream
{
  private int remaining;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

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

  static final char CR;
    descriptor: C
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 13

  static final char LF;
    descriptor: C
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: 10

  private static final int MAX_CHUNK_HEADER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2050

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 33
            ldc Lsun/net/httpserver/ChunkedInputStream;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic sun.net.httpserver.ChunkedInputStream.$assertionsDisabled:Z
         3: .line 49
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(sun.net.httpserver.ExchangeImpl, java.io.InputStream);
    descriptor: (Lsun/net/httpserver/ExchangeImpl;Ljava/io/InputStream;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // sun.net.httpserver.ChunkedInputStream this
        start local 1 // sun.net.httpserver.ExchangeImpl t
        start local 2 // java.io.InputStream src
         0: .line 35
            aload 0 /* this */
            aload 1 /* t */
            aload 2 /* src */
            invokespecial sun.net.httpserver.LeftOverInputStream.<init>:(Lsun/net/httpserver/ExchangeImpl;Ljava/io/InputStream;)V
         1: .line 42
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.ChunkedInputStream.needToReadHeader:Z
         2: .line 36
            return
        end local 2 // java.io.InputStream src
        end local 1 // sun.net.httpserver.ExchangeImpl t
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/net/httpserver/ChunkedInputStream;
            0    3     1     t  Lsun/net/httpserver/ExchangeImpl;
            0    3     2   src  Ljava/io/InputStream;
    MethodParameters:
      Name  Flags
      t     
      src   

  private int numeric(char[], int);
    descriptor: ([CI)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=3
        start local 0 // sun.net.httpserver.ChunkedInputStream this
        start local 1 // char[] arr
        start local 2 // int nchars
         0: .line 52
            getstatic sun.net.httpserver.ChunkedInputStream.$assertionsDisabled:Z
            ifne 1
            aload 1 /* arr */
            arraylength
            iload 2 /* nchars */
            if_icmpge 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 53
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* len */
        start local 3 // int len
         2: .line 54
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         3: goto 18
         4: .line 55
      StackMap locals: int int
      StackMap stack:
            aload 1 /* arr */
            iload 4 /* i */
            caload
            istore 5 /* c */
        start local 5 // char c
         5: .line 56
            iconst_0
            istore 6 /* val */
        start local 6 // int val
         6: .line 57
            iload 5 /* c */
            bipush 48
            if_icmplt 9
            iload 5 /* c */
            bipush 57
            if_icmpgt 9
         7: .line 58
            iload 5 /* c */
            bipush 48
            isub
            istore 6 /* val */
         8: .line 59
            goto 16
      StackMap locals: int int
      StackMap stack:
         9: iload 5 /* c */
            bipush 97
            if_icmplt 12
            iload 5 /* c */
            bipush 102
            if_icmpgt 12
        10: .line 60
            iload 5 /* c */
            bipush 97
            isub
            bipush 10
            iadd
            istore 6 /* val */
        11: .line 61
            goto 16
      StackMap locals:
      StackMap stack:
        12: iload 5 /* c */
            bipush 65
            if_icmplt 15
            iload 5 /* c */
            bipush 70
            if_icmpgt 15
        13: .line 62
            iload 5 /* c */
            bipush 65
            isub
            bipush 10
            iadd
            istore 6 /* val */
        14: .line 63
            goto 16
        15: .line 64
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "invalid chunk length"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 66
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            bipush 16
            imul
            iload 6 /* val */
            iadd
            istore 3 /* len */
        end local 6 // int val
        end local 5 // char c
        17: .line 54
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        18: iload 4 /* i */
            iload 2 /* nchars */
            if_icmplt 4
        end local 4 // int i
        19: .line 68
            iload 3 /* len */
            ireturn
        end local 3 // int len
        end local 2 // int nchars
        end local 1 // char[] arr
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   20     0    this  Lsun/net/httpserver/ChunkedInputStream;
            0   20     1     arr  [C
            0   20     2  nchars  I
            2   20     3     len  I
            3   19     4       i  I
            5   17     5       c  C
            6   17     6     val  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      arr     
      nchars  

  private int readChunkHeader();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=9, args_size=1
        start local 0 // sun.net.httpserver.ChunkedInputStream this
         0: .line 75
            iconst_0
            istore 1 /* gotCR */
        start local 1 // boolean gotCR
         1: .line 77
            bipush 16
            newarray 5
            astore 3 /* len_arr */
        start local 3 // char[] len_arr
         2: .line 78
            iconst_0
            istore 4 /* len_size */
        start local 4 // int len_size
         3: .line 79
            iconst_0
            istore 5 /* end_of_len */
        start local 5 // boolean end_of_len
         4: .line 80
            iconst_0
            istore 6 /* read */
        start local 6 // int read
         5: .line 82
            goto 27
        start local 2 // int c
         6: .line 83
      StackMap locals: sun.net.httpserver.ChunkedInputStream int int char[] int int int
      StackMap stack:
            iload 2 /* c */
            i2c
            istore 7 /* ch */
        start local 7 // char ch
         7: .line 84
            iinc 6 /* read */ 1
         8: .line 85
            iload 4 /* len_size */
            aload 3 /* len_arr */
            arraylength
            iconst_1
            isub
            if_icmpeq 10
         9: .line 86
            iload 6 /* read */
            sipush 2050
            if_icmple 11
        10: .line 88
      StackMap locals: int
      StackMap stack:
            new java.io.IOException
            dup
            ldc "invalid chunk header"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 90
      StackMap locals:
      StackMap stack:
            iload 1 /* gotCR */
            ifeq 19
        12: .line 91
            iload 7 /* ch */
            bipush 10
            if_icmpne 15
        13: .line 92
            aload 0 /* this */
            aload 3 /* len_arr */
            iload 4 /* len_size */
            invokevirtual sun.net.httpserver.ChunkedInputStream.numeric:([CI)I
            istore 8 /* l */
        start local 8 // int l
        14: .line 93
            iload 8 /* l */
            ireturn
        end local 8 // int l
        15: .line 95
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* gotCR */
        16: .line 97
            iload 5 /* end_of_len */
            ifne 27
        17: .line 98
            aload 3 /* len_arr */
            iload 4 /* len_size */
            iinc 4 /* len_size */ 1
            iload 7 /* ch */
            castore
        18: .line 100
            goto 27
        19: .line 101
      StackMap locals:
      StackMap stack:
            iload 7 /* ch */
            bipush 13
            if_icmpne 22
        20: .line 102
            iconst_1
            istore 1 /* gotCR */
        21: .line 103
            goto 27
      StackMap locals:
      StackMap stack:
        22: iload 7 /* ch */
            bipush 59
            if_icmpne 25
        23: .line 104
            iconst_1
            istore 5 /* end_of_len */
        24: .line 105
            goto 27
      StackMap locals:
      StackMap stack:
        25: iload 5 /* end_of_len */
            ifne 27
        26: .line 106
            aload 3 /* len_arr */
            iload 4 /* len_size */
            iinc 4 /* len_size */ 1
            iload 7 /* ch */
            castore
        end local 7 // char ch
        end local 2 // int c
        27: .line 82
      StackMap locals: sun.net.httpserver.ChunkedInputStream int top char[] int int int
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            dup
            istore 2 /* c */
        start local 2 // int c
        28: iconst_m1
            if_icmpne 6
        29: .line 110
            new java.io.IOException
            dup
            ldc "end of stream reading chunk header"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 6 // int read
        end local 5 // boolean end_of_len
        end local 4 // int len_size
        end local 3 // char[] len_arr
        end local 2 // int c
        end local 1 // boolean gotCR
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   30     0        this  Lsun/net/httpserver/ChunkedInputStream;
            1   30     1       gotCR  Z
            6   27     2           c  I
           28   30     2           c  I
            2   30     3     len_arr  [C
            3   30     4    len_size  I
            4   30     5  end_of_len  Z
            5   30     6        read  I
            7   27     7          ch  C
           14   15     8           l  I
    Exceptions:
      throws java.io.IOException

  protected int readImpl(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // sun.net.httpserver.ChunkedInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 114
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.eof:Z
            ifeq 2
         1: .line 115
            iconst_m1
            ireturn
         2: .line 117
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.needToReadHeader:Z
            ifeq 10
         3: .line 118
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual sun.net.httpserver.ChunkedInputStream.readChunkHeader:()I
            putfield sun.net.httpserver.ChunkedInputStream.remaining:I
         4: .line 119
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.remaining:I
            ifne 9
         5: .line 120
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.ChunkedInputStream.eof:Z
         6: .line 121
            aload 0 /* this */
            invokevirtual sun.net.httpserver.ChunkedInputStream.consumeCRLF:()V
         7: .line 122
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.t:Lsun/net/httpserver/ExchangeImpl;
            invokevirtual sun.net.httpserver.ExchangeImpl.getServerImpl:()Lsun/net/httpserver/ServerImpl;
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.t:Lsun/net/httpserver/ExchangeImpl;
            invokevirtual sun.net.httpserver.ExchangeImpl.getConnection:()Lsun/net/httpserver/HttpConnection;
            invokevirtual sun.net.httpserver.ServerImpl.requestCompleted:(Lsun/net/httpserver/HttpConnection;)V
         8: .line 123
            iconst_m1
            ireturn
         9: .line 125
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.ChunkedInputStream.needToReadHeader:Z
        10: .line 127
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.remaining:I
            if_icmple 12
        11: .line 128
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.remaining:I
            istore 3 /* len */
        12: .line 130
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.in:Ljava/io/InputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* n */
        start local 4 // int n
        13: .line 131
            iload 4 /* n */
            iconst_m1
            if_icmple 15
        14: .line 132
            aload 0 /* this */
            dup
            getfield sun.net.httpserver.ChunkedInputStream.remaining:I
            iload 4 /* n */
            isub
            putfield sun.net.httpserver.ChunkedInputStream.remaining:I
        15: .line 134
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.remaining:I
            ifne 18
        16: .line 135
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.ChunkedInputStream.needToReadHeader:Z
        17: .line 136
            aload 0 /* this */
            invokevirtual sun.net.httpserver.ChunkedInputStream.consumeCRLF:()V
        18: .line 138
      StackMap locals:
      StackMap stack:
            iload 4 /* n */
            ifge 20
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.eof:Z
            ifne 20
        19: .line 139
            new java.io.IOException
            dup
            ldc "connection closed before all data received"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 140
      StackMap locals:
      StackMap stack:
            iload 4 /* n */
            ireturn
        end local 4 // int n
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   21     0  this  Lsun/net/httpserver/ChunkedInputStream;
            0   21     1     b  [B
            0   21     2   off  I
            0   21     3   len  I
           13   21     4     n  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  private void consumeCRLF();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // sun.net.httpserver.ChunkedInputStream this
         0: .line 145
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            i2c
            istore 1 /* c */
        start local 1 // char c
         1: .line 146
            iload 1 /* c */
            bipush 13
            if_icmpeq 3
         2: .line 147
            new java.io.IOException
            dup
            ldc "invalid chunk end"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 149
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            i2c
            istore 1 /* c */
         4: .line 150
            iload 1 /* c */
            bipush 10
            if_icmpeq 6
         5: .line 151
            new java.io.IOException
            dup
            ldc "invalid chunk end"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 153
      StackMap locals:
      StackMap stack:
            return
        end local 1 // char c
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/net/httpserver/ChunkedInputStream;
            1    7     1     c  C
    Exceptions:
      throws java.io.IOException

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // sun.net.httpserver.ChunkedInputStream this
         0: .line 162
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.eof:Z
            ifne 1
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.closed:Z
            ifeq 2
         1: .line 163
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         2: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.available:()I
            istore 1 /* n */
        start local 1 // int n
         3: .line 166
            iload 1 /* n */
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.remaining:I
            if_icmple 4
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.remaining:I
            goto 5
      StackMap locals: int
      StackMap stack:
         4: iload 1 /* n */
      StackMap locals:
      StackMap stack: int
         5: ireturn
        end local 1 // int n
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/net/httpserver/ChunkedInputStream;
            3    6     1     n  I
    Exceptions:
      throws java.io.IOException

  public boolean isDataBuffered();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.net.httpserver.ChunkedInputStream this
         0: .line 174
            getstatic sun.net.httpserver.ChunkedInputStream.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.eof:Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 175
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.ChunkedInputStream.in:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.available:()I
            ifle 2
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         2: iconst_0
            ireturn
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/net/httpserver/ChunkedInputStream;
    Exceptions:
      throws java.io.IOException

  public boolean markSupported();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.net.httpserver.ChunkedInputStream this
         0: .line 178
            iconst_0
            ireturn
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/net/httpserver/ChunkedInputStream;

  public void mark(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // sun.net.httpserver.ChunkedInputStream this
        start local 1 // int l
         0: .line 181
            return
        end local 1 // int l
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/net/httpserver/ChunkedInputStream;
            0    1     1     l  I
    MethodParameters:
      Name  Flags
      l     

  public void reset();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.net.httpserver.ChunkedInputStream this
         0: .line 184
            new java.io.IOException
            dup
            ldc "mark/reset not supported"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // sun.net.httpserver.ChunkedInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/net/httpserver/ChunkedInputStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "ChunkedInputStream.java"