class sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream extends java.io.FilterOutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream
  super_class: java.io.FilterOutputStream
{
  long expected;
    descriptor: J
    flags: (0x0000) 

  long written;
    descriptor: J
    flags: (0x0000) 

  boolean closed;
    descriptor: Z
    flags: (0x0000) 

  boolean error;
    descriptor: Z
    flags: (0x0000) 

  java.io.IOException errorExcp;
    descriptor: Ljava/io/IOException;
    flags: (0x0000) 

  final sun.net.www.protocol.http.HttpURLConnection this$0;
    descriptor: Lsun/net/www/protocol/http/HttpURLConnection;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(sun.net.www.protocol.http.HttpURLConnection, java.io.OutputStream, long);
    descriptor: (Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/OutputStream;J)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
        start local 2 // java.io.OutputStream os
        start local 3 // long expectedLength
         0: .line 3749
            aload 0 /* this */
            aload 1
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
         1: .line 3750
            aload 0 /* this */
            aload 2 /* os */
            invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
         2: .line 3751
            aload 0 /* this */
            lload 3 /* expectedLength */
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:J
         3: .line 3752
            aload 0 /* this */
            lconst_0
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:J
         4: .line 3753
            aload 0 /* this */
            iconst_0
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
         5: .line 3754
            aload 0 /* this */
            iconst_0
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.error:Z
         6: .line 3755
            return
        end local 3 // long expectedLength
        end local 2 // java.io.OutputStream os
        end local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    7     0            this  Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
            0    7     2              os  Ljava/io/OutputStream;
            0    7     3  expectedLength  J
    MethodParameters:
                Name  Flags
      this$0          final
      os              
      expectedLength  

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
        start local 1 // int b
         0: .line 3759
            aload 0 /* this */
            invokevirtual sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError:()V
         1: .line 3760
            aload 0 /* this */
            dup
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:J
            lconst_1
            ladd
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:J
         2: .line 3761
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:J
            ldc -1
            lcmp
            ifeq 4
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:J
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:J
            lcmp
            ifle 4
         3: .line 3762
            new java.io.IOException
            dup
            ldc "too many bytes written"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 3764
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            iload 1 /* b */
            invokevirtual java.io.OutputStream.write:(I)V
         5: .line 3765
            return
        end local 1 // int b
        end local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
            0    6     1     b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void write(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
        start local 1 // byte[] b
         0: .line 3769
            aload 0 /* this */
            aload 1 /* b */
            iconst_0
            aload 1 /* b */
            arraylength
            invokevirtual sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write:([BII)V
         1: .line 3770
            return
        end local 1 // byte[] b
        end local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
            0    2     1     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 3774
            aload 0 /* this */
            invokevirtual sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError:()V
         1: .line 3775
            aload 0 /* this */
            dup
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:J
            iload 3 /* len */
            i2l
            ladd
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:J
         2: .line 3776
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:J
            ldc -1
            lcmp
            ifeq 5
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:J
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:J
            lcmp
            ifle 5
         3: .line 3777
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         4: .line 3778
            new java.io.IOException
            dup
            ldc "too many bytes written"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 3780
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.OutputStream.write:([BII)V
         6: .line 3781
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
            0    7     1     b  [B
            0    7     2   off  I
            0    7     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  void checkError();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
         0: .line 3784
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
            ifeq 2
         1: .line 3785
            new java.io.IOException
            dup
            ldc "Stream is closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 3787
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.error:Z
            ifeq 4
         3: .line 3788
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.errorExcp:Ljava/io/IOException;
            athrow
         4: .line 3790
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            instanceof java.io.PrintStream
            ifeq 7
         5: .line 3791
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            checkcast java.io.PrintStream
            invokevirtual java.io.PrintStream.checkError:()Z
            ifeq 10
         6: .line 3792
            new java.io.IOException
            dup
            ldc "Error writing request body to server"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 3794
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            instanceof sun.net.www.http.ChunkedOutputStream
            ifeq 10
         8: .line 3795
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            checkcast sun.net.www.http.ChunkedOutputStream
            invokevirtual sun.net.www.http.ChunkedOutputStream.checkError:()Z
            ifeq 10
         9: .line 3796
            new java.io.IOException
            dup
            ldc "Error writing request body to server"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 3799
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
    Exceptions:
      throws java.io.IOException

  boolean writtenOK();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
         0: .line 3806
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
            ifeq 1
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.error:Z
            ifne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
         0: .line 3811
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
            ifeq 2
         1: .line 3812
            return
         2: .line 3814
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
         3: .line 3815
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:J
            ldc -1
            lcmp
            ifeq 11
         4: .line 3817
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:J
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:J
            lcmp
            ifeq 9
         5: .line 3818
            aload 0 /* this */
            iconst_1
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.error:Z
         6: .line 3819
            aload 0 /* this */
            new java.io.IOException
            dup
            ldc "insufficient data written"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.errorExcp:Ljava/io/IOException;
         7: .line 3820
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         8: .line 3821
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.errorExcp:Ljava/io/IOException;
            athrow
         9: .line 3823
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.io.FilterOutputStream.flush:()V
        10: .line 3824
            goto 16
        11: .line 3826
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.io.FilterOutputStream.close:()V
        12: .line 3828
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
            getfield sun.net.www.protocol.http.HttpURLConnection.http:Lsun/net/www/http/HttpClient;
            invokevirtual sun.net.www.http.HttpClient.getOutputStream:()Ljava/io/OutputStream;
            astore 1 /* o */
        start local 1 // java.io.OutputStream o
        13: .line 3829
            aload 1 /* o */
            bipush 13
            invokevirtual java.io.OutputStream.write:(I)V
        14: .line 3830
            aload 1 /* o */
            bipush 10
            invokevirtual java.io.OutputStream.write:(I)V
        15: .line 3831
            aload 1 /* o */
            invokevirtual java.io.OutputStream.flush:()V
        end local 1 // java.io.OutputStream o
        16: .line 3833
      StackMap locals:
      StackMap stack:
            return
        end local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Lsun/net/www/protocol/http/HttpURLConnection$StreamingOutputStream;
           13   16     1     o  Ljava/io/OutputStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "HttpURLConnection.java"
NestHost: sun.net.www.protocol.http.HttpURLConnection
InnerClasses:
  StreamingOutputStream = sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream of sun.net.www.protocol.http.HttpURLConnection