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
{
  int expected;
    descriptor: I
    flags: (0x0000) 

  int written;
    descriptor: I
    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, int);
    descriptor: (Lsun/net/www/protocol/http/HttpURLConnection;Ljava/io/OutputStream;I)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
        start local 2 // java.io.OutputStream os
        start local 3 // int expectedLength
         0: .line 2975
            aload 0 /* this */
            aload 1
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.this$0:Lsun/net/www/protocol/http/HttpURLConnection;
         1: .line 2976
            aload 0 /* this */
            aload 2 /* os */
            invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
         2: .line 2977
            aload 0 /* this */
            iload 3 /* expectedLength */
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:I
         3: .line 2978
            aload 0 /* this */
            iconst_0
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:I
         4: .line 2979
            aload 0 /* this */
            iconst_0
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
         5: .line 2980
            aload 0 /* this */
            iconst_0
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.error:Z
         6: .line 2981
            return
        end local 3 // int 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  I
    MethodParameters:
                Name  Flags
      this$0          final
      os              
      expectedLength  

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream this
        start local 1 // int b
         0: .line 2985
            aload 0 /* this */
            invokevirtual sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError:()V
         1: .line 2986
            aload 0 /* this */
            dup
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:I
            iconst_1
            iadd
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:I
         2: .line 2987
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:I
            iconst_m1
            if_icmpeq 4
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:I
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:I
            if_icmple 4
         3: .line 2988
            new java.io.IOException
            dup
            ldc "too many bytes written"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 2990
      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 2991
            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 2995
            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 2996
            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=4, 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 3000
            aload 0 /* this */
            invokevirtual sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError:()V
         1: .line 3001
            aload 0 /* this */
            dup
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:I
            iload 3 /* len */
            iadd
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:I
         2: .line 3002
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:I
            iconst_m1
            if_icmpeq 5
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:I
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:I
            if_icmple 5
         3: .line 3003
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         4: .line 3004
            new java.io.IOException
            dup
            ldc "too many bytes written"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 3006
      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 3007
            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 3010
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
            ifeq 2
         1: .line 3011
            new java.io.IOException
            dup
            ldc "Stream is closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 3013
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.error:Z
            ifeq 4
         3: .line 3014
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.errorExcp:Ljava/io/IOException;
            athrow
         4: .line 3016
      StackMap locals:
      StackMap stack:
            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 6
         5: .line 3017
            new java.io.IOException
            dup
            ldc "Error writing request body to server"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 3019
      StackMap locals:
      StackMap stack:
            return
        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;
    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 3026
            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 3031
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
            ifeq 2
         1: .line 3032
            return
         2: .line 3034
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.closed:Z
         3: .line 3035
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:I
            iconst_m1
            if_icmpeq 11
         4: .line 3037
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.written:I
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.expected:I
            if_icmpeq 9
         5: .line 3038
            aload 0 /* this */
            iconst_1
            putfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.error:Z
         6: .line 3039
            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 3040
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.out:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         8: .line 3041
            aload 0 /* this */
            getfield sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.errorExcp:Ljava/io/IOException;
            athrow
         9: .line 3043
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.io.FilterOutputStream.flush:()V
        10: .line 3044
            goto 16
        11: .line 3046
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.io.FilterOutputStream.close:()V
        12: .line 3048
            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 3049
            aload 1 /* o */
            bipush 13
            invokevirtual java.io.OutputStream.write:(I)V
        14: .line 3050
            aload 1 /* o */
            bipush 10
            invokevirtual java.io.OutputStream.write:(I)V
        15: .line 3051
            aload 1 /* o */
            invokevirtual java.io.OutputStream.flush:()V
        end local 1 // java.io.OutputStream o
        16: .line 3053
      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