class sun.net.httpserver.FixedLengthOutputStream extends java.io.FilterOutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.net.httpserver.FixedLengthOutputStream
  super_class: java.io.FilterOutputStream
{
  private long remaining;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

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

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

  sun.net.httpserver.ExchangeImpl t;
    descriptor: Lsun/net/httpserver/ExchangeImpl;
    flags: (0x0000) 

  void <init>(sun.net.httpserver.ExchangeImpl, java.io.OutputStream, long);
    descriptor: (Lsun/net/httpserver/ExchangeImpl;Ljava/io/OutputStream;J)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // sun.net.httpserver.FixedLengthOutputStream this
        start local 1 // sun.net.httpserver.ExchangeImpl t
        start local 2 // java.io.OutputStream src
        start local 3 // long len
         0: .line 49
            aload 0 /* this */
            aload 2 /* src */
            invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
         1: .line 44
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.FixedLengthOutputStream.eof:Z
         2: .line 45
            aload 0 /* this */
            iconst_0
            putfield sun.net.httpserver.FixedLengthOutputStream.closed:Z
         3: .line 50
            aload 0 /* this */
            aload 1 /* t */
            putfield sun.net.httpserver.FixedLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
         4: .line 51
            aload 0 /* this */
            lload 3 /* len */
            putfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
         5: .line 52
            return
        end local 3 // long len
        end local 2 // java.io.OutputStream src
        end local 1 // sun.net.httpserver.ExchangeImpl t
        end local 0 // sun.net.httpserver.FixedLengthOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lsun/net/httpserver/FixedLengthOutputStream;
            0    6     1     t  Lsun/net/httpserver/ExchangeImpl;
            0    6     2   src  Ljava/io/OutputStream;
            0    6     3   len  J
    MethodParameters:
      Name  Flags
      t     
      src   
      len   

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // sun.net.httpserver.FixedLengthOutputStream this
        start local 1 // int b
         0: .line 55
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.closed:Z
            ifeq 2
         1: .line 56
            new java.io.IOException
            dup
            ldc "stream closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 58
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
            lconst_0
            lcmp
            ifne 3
            iconst_1
            goto 4
      StackMap locals:
      StackMap stack: sun.net.httpserver.FixedLengthOutputStream
         3: iconst_0
      StackMap locals: sun.net.httpserver.FixedLengthOutputStream int
      StackMap stack: sun.net.httpserver.FixedLengthOutputStream int
         4: putfield sun.net.httpserver.FixedLengthOutputStream.eof:Z
         5: .line 59
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.eof:Z
            ifeq 7
         6: .line 60
            new sun.net.httpserver.StreamClosedException
            dup
            invokespecial sun.net.httpserver.StreamClosedException.<init>:()V
            athrow
         7: .line 62
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.out:Ljava/io/OutputStream;
            iload 1 /* b */
            invokevirtual java.io.OutputStream.write:(I)V
         8: .line 63
            aload 0 /* this */
            dup
            getfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
            lconst_1
            lsub
            putfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
         9: .line 64
            return
        end local 1 // int b
        end local 0 // sun.net.httpserver.FixedLengthOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lsun/net/httpserver/FixedLengthOutputStream;
            0   10     1     b  I
    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.httpserver.FixedLengthOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 67
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.closed:Z
            ifeq 2
         1: .line 68
            new java.io.IOException
            dup
            ldc "stream closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 70
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
            lconst_0
            lcmp
            ifne 3
            iconst_1
            goto 4
      StackMap locals:
      StackMap stack: sun.net.httpserver.FixedLengthOutputStream
         3: iconst_0
      StackMap locals: sun.net.httpserver.FixedLengthOutputStream byte[] int int
      StackMap stack: sun.net.httpserver.FixedLengthOutputStream int
         4: putfield sun.net.httpserver.FixedLengthOutputStream.eof:Z
         5: .line 71
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.eof:Z
            ifeq 7
         6: .line 72
            new sun.net.httpserver.StreamClosedException
            dup
            invokespecial sun.net.httpserver.StreamClosedException.<init>:()V
            athrow
         7: .line 74
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            i2l
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
            lcmp
            ifle 9
         8: .line 76
            new java.io.IOException
            dup
            ldc "too many bytes to write to stream"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.out:Ljava/io/OutputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.OutputStream.write:([BII)V
        10: .line 79
            aload 0 /* this */
            dup
            getfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
            iload 3 /* len */
            i2l
            lsub
            putfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
        11: .line 80
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // sun.net.httpserver.FixedLengthOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lsun/net/httpserver/FixedLengthOutputStream;
            0   12     1     b  [B
            0   12     2   off  I
            0   12     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // sun.net.httpserver.FixedLengthOutputStream this
         0: .line 83
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.closed:Z
            ifeq 2
         1: .line 84
            return
         2: .line 86
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.FixedLengthOutputStream.closed:Z
         3: .line 87
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.remaining:J
            lconst_0
            lcmp
            ifle 6
         4: .line 88
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
            invokevirtual sun.net.httpserver.ExchangeImpl.close:()V
         5: .line 89
            new java.io.IOException
            dup
            ldc "insufficient bytes written to stream"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.net.httpserver.FixedLengthOutputStream.flush:()V
         7: .line 92
            aload 0 /* this */
            iconst_1
            putfield sun.net.httpserver.FixedLengthOutputStream.eof:Z
         8: .line 93
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
            invokevirtual sun.net.httpserver.ExchangeImpl.getOriginalInputStream:()Lsun/net/httpserver/LeftOverInputStream;
            astore 1 /* is */
        start local 1 // sun.net.httpserver.LeftOverInputStream is
         9: .line 94
            aload 1 /* is */
            invokevirtual sun.net.httpserver.LeftOverInputStream.isClosed:()Z
            ifne 13
        10: .line 96
            aload 1 /* is */
            invokevirtual sun.net.httpserver.LeftOverInputStream.close:()V
        11: .line 97
            goto 13
      StackMap locals: sun.net.httpserver.FixedLengthOutputStream sun.net.httpserver.LeftOverInputStream
      StackMap stack: java.io.IOException
        12: pop
        13: .line 99
      StackMap locals:
      StackMap stack:
            new sun.net.httpserver.WriteFinishedEvent
            dup
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
            invokespecial sun.net.httpserver.WriteFinishedEvent.<init>:(Lsun/net/httpserver/ExchangeImpl;)V
            astore 2 /* e */
        start local 2 // sun.net.httpserver.WriteFinishedEvent e
        14: .line 100
            aload 0 /* this */
            getfield sun.net.httpserver.FixedLengthOutputStream.t:Lsun/net/httpserver/ExchangeImpl;
            invokevirtual sun.net.httpserver.ExchangeImpl.getHttpContext:()Lsun/net/httpserver/HttpContextImpl;
            invokevirtual sun.net.httpserver.HttpContextImpl.getServerImpl:()Lsun/net/httpserver/ServerImpl;
            aload 2 /* e */
            invokevirtual sun.net.httpserver.ServerImpl.addEvent:(Lsun/net/httpserver/Event;)V
        15: .line 101
            return
        end local 2 // sun.net.httpserver.WriteFinishedEvent e
        end local 1 // sun.net.httpserver.LeftOverInputStream is
        end local 0 // sun.net.httpserver.FixedLengthOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Lsun/net/httpserver/FixedLengthOutputStream;
            9   16     1    is  Lsun/net/httpserver/LeftOverInputStream;
           14   16     2     e  Lsun/net/httpserver/WriteFinishedEvent;
      Exception table:
        from    to  target  type
          10    11      12  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
}
SourceFile: "FixedLengthOutputStream.java"