public class org.apache.http.impl.io.ChunkedOutputStream extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.http.impl.io.ChunkedOutputStream
  super_class: java.io.OutputStream
{
  private final org.apache.http.io.SessionOutputBuffer out;
    descriptor: Lorg/apache/http/io/SessionOutputBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final byte[] cache;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int cachePosition;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

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

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

  public void <init>(org.apache.http.io.SessionOutputBuffer, int);
    descriptor: (Lorg/apache/http/io/SessionOutputBuffer;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
        start local 1 // org.apache.http.io.SessionOutputBuffer out
        start local 2 // int bufferSize
         0: .line 73
            aload 0 /* this */
            iload 2 /* bufferSize */
            aload 1 /* out */
            invokespecial org.apache.http.impl.io.ChunkedOutputStream.<init>:(ILorg/apache/http/io/SessionOutputBuffer;)V
         1: .line 74
            return
        end local 2 // int bufferSize
        end local 1 // org.apache.http.io.SessionOutputBuffer out
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Lorg/apache/http/impl/io/ChunkedOutputStream;
            0    2     1         out  Lorg/apache/http/io/SessionOutputBuffer;
            0    2     2  bufferSize  I
    Exceptions:
      throws java.io.IOException
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
            Name  Flags
      out         final
      bufferSize  final

  public void <init>(org.apache.http.io.SessionOutputBuffer);
    descriptor: (Lorg/apache/http/io/SessionOutputBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
        start local 1 // org.apache.http.io.SessionOutputBuffer out
         0: .line 88
            aload 0 /* this */
            sipush 2048
            aload 1 /* out */
            invokespecial org.apache.http.impl.io.ChunkedOutputStream.<init>:(ILorg/apache/http/io/SessionOutputBuffer;)V
         1: .line 89
            return
        end local 1 // org.apache.http.io.SessionOutputBuffer out
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
            0    2     1   out  Lorg/apache/http/io/SessionOutputBuffer;
    Exceptions:
      throws java.io.IOException
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
      Name  Flags
      out   final

  public void <init>(int, org.apache.http.io.SessionOutputBuffer);
    descriptor: (ILorg/apache/http/io/SessionOutputBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
        start local 1 // int bufferSize
        start local 2 // org.apache.http.io.SessionOutputBuffer out
         0: .line 98
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
         1: .line 54
            aload 0 /* this */
            iconst_0
            putfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
         2: .line 56
            aload 0 /* this */
            iconst_0
            putfield org.apache.http.impl.io.ChunkedOutputStream.wroteLastChunk:Z
         3: .line 59
            aload 0 /* this */
            iconst_0
            putfield org.apache.http.impl.io.ChunkedOutputStream.closed:Z
         4: .line 99
            aload 0 /* this */
            iload 1 /* bufferSize */
            newarray 8
            putfield org.apache.http.impl.io.ChunkedOutputStream.cache:[B
         5: .line 100
            aload 0 /* this */
            aload 2 /* out */
            putfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
         6: .line 101
            return
        end local 2 // org.apache.http.io.SessionOutputBuffer out
        end local 1 // int bufferSize
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Lorg/apache/http/impl/io/ChunkedOutputStream;
            0    7     1  bufferSize  I
            0    7     2         out  Lorg/apache/http/io/SessionOutputBuffer;
    MethodParameters:
            Name  Flags
      bufferSize  final
      out         final

  protected void flushCache();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
         0: .line 107
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            ifle 5
         1: .line 108
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
            invokeinterface org.apache.http.io.SessionOutputBuffer.writeLine:(Ljava/lang/String;)V
         2: .line 109
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cache:[B
            iconst_0
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            invokeinterface org.apache.http.io.SessionOutputBuffer.write:([BII)V
         3: .line 110
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            ldc ""
            invokeinterface org.apache.http.io.SessionOutputBuffer.writeLine:(Ljava/lang/String;)V
         4: .line 111
            aload 0 /* this */
            iconst_0
            putfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
         5: .line 113
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
    Exceptions:
      throws java.io.IOException

  protected void flushCacheWithAppend(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
        start local 1 // byte[] bufferToAppend
        start local 2 // int off
        start local 3 // int len
         0: .line 120
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            iload 3 /* len */
            iadd
            invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
            invokeinterface org.apache.http.io.SessionOutputBuffer.writeLine:(Ljava/lang/String;)V
         1: .line 121
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cache:[B
            iconst_0
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            invokeinterface org.apache.http.io.SessionOutputBuffer.write:([BII)V
         2: .line 122
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            aload 1 /* bufferToAppend */
            iload 2 /* off */
            iload 3 /* len */
            invokeinterface org.apache.http.io.SessionOutputBuffer.write:([BII)V
         3: .line 123
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            ldc ""
            invokeinterface org.apache.http.io.SessionOutputBuffer.writeLine:(Ljava/lang/String;)V
         4: .line 124
            aload 0 /* this */
            iconst_0
            putfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
         5: .line 125
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] bufferToAppend
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    6     0            this  Lorg/apache/http/impl/io/ChunkedOutputStream;
            0    6     1  bufferToAppend  [B
            0    6     2             off  I
            0    6     3             len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                Name  Flags
      bufferToAppend  final
      off             final
      len             final

  protected void writeClosingChunk();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
         0: .line 129
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            ldc "0"
            invokeinterface org.apache.http.io.SessionOutputBuffer.writeLine:(Ljava/lang/String;)V
         1: .line 130
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            ldc ""
            invokeinterface org.apache.http.io.SessionOutputBuffer.writeLine:(Ljava/lang/String;)V
         2: .line 131
            return
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
    Exceptions:
      throws java.io.IOException

  public void finish();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
         0: .line 140
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.wroteLastChunk:Z
            ifne 4
         1: .line 141
            aload 0 /* this */
            invokevirtual org.apache.http.impl.io.ChunkedOutputStream.flushCache:()V
         2: .line 142
            aload 0 /* this */
            invokevirtual org.apache.http.impl.io.ChunkedOutputStream.writeClosingChunk:()V
         3: .line 143
            aload 0 /* this */
            iconst_1
            putfield org.apache.http.impl.io.ChunkedOutputStream.wroteLastChunk:Z
         4: .line 145
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
    Exceptions:
      throws java.io.IOException

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
        start local 1 // int b
         0: .line 150
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.closed:Z
            ifeq 2
         1: .line 151
            new java.io.IOException
            dup
            ldc "Attempted write to closed stream."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 153
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cache:[B
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            iload 1 /* b */
            i2b
            bastore
         3: .line 154
            aload 0 /* this */
            dup
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            iconst_1
            iadd
            putfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
         4: .line 155
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cache:[B
            arraylength
            if_icmpne 6
         5: .line 156
            aload 0 /* this */
            invokevirtual org.apache.http.impl.io.ChunkedOutputStream.flushCache:()V
         6: .line 158
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int b
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
            0    7     1     b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     final

  public void write(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
        start local 1 // byte[] b
         0: .line 166
            aload 0 /* this */
            aload 1 /* b */
            iconst_0
            aload 1 /* b */
            arraylength
            invokevirtual org.apache.http.impl.io.ChunkedOutputStream.write:([BII)V
         1: .line 167
            return
        end local 1 // byte[] b
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
            0    2     1     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     final

  public void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
        start local 1 // byte[] src
        start local 2 // int off
        start local 3 // int len
         0: .line 175
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.closed:Z
            ifeq 2
         1: .line 176
            new java.io.IOException
            dup
            ldc "Attempted write to closed stream."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 178
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cache:[B
            arraylength
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            isub
            if_icmplt 5
         3: .line 179
            aload 0 /* this */
            aload 1 /* src */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual org.apache.http.impl.io.ChunkedOutputStream.flushCacheWithAppend:([BII)V
         4: .line 180
            goto 7
         5: .line 181
      StackMap locals:
      StackMap stack:
            aload 1 /* src */
            iload 2 /* off */
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cache:[B
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            iload 3 /* len */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         6: .line 182
            aload 0 /* this */
            dup
            getfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
            iload 3 /* len */
            iadd
            putfield org.apache.http.impl.io.ChunkedOutputStream.cachePosition:I
         7: .line 184
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] src
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
            0    8     1   src  [B
            0    8     2   off  I
            0    8     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   final
      off   final
      len   final

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.http.impl.io.ChunkedOutputStream this
         0: .line 191
            aload 0 /* this */
            invokevirtual org.apache.http.impl.io.ChunkedOutputStream.flushCache:()V
         1: .line 192
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            invokeinterface org.apache.http.io.SessionOutputBuffer.flush:()V
         2: .line 193
            return
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
    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.impl.io.ChunkedOutputStream this
         0: .line 200
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.closed:Z
            ifne 4
         1: .line 201
            aload 0 /* this */
            iconst_1
            putfield org.apache.http.impl.io.ChunkedOutputStream.closed:Z
         2: .line 202
            aload 0 /* this */
            invokevirtual org.apache.http.impl.io.ChunkedOutputStream.finish:()V
         3: .line 203
            aload 0 /* this */
            getfield org.apache.http.impl.io.ChunkedOutputStream.out:Lorg/apache/http/io/SessionOutputBuffer;
            invokeinterface org.apache.http.io.SessionOutputBuffer.flush:()V
         4: .line 205
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.http.impl.io.ChunkedOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/http/impl/io/ChunkedOutputStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "ChunkedOutputStream.java"