public abstract class org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream
  super_class: java.io.OutputStream
{
  private final int threshold;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private long written;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

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

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
        start local 1 // int threshold
         0: .line 71
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
         1: .line 73
            aload 0 /* this */
            iload 1 /* threshold */
            putfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.threshold:I
         2: .line 74
            return
        end local 1 // int threshold
        end local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/apache/tomcat/util/http/fileupload/ThresholdingOutputStream;
            0    3     1  threshold  I
    MethodParameters:
           Name  Flags
      threshold  final

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
        start local 1 // int b
         0: .line 90
            aload 0 /* this */
            iconst_1
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.checkThreshold:(I)V
         1: .line 91
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.getStream:()Ljava/io/OutputStream;
            iload 1 /* b */
            invokevirtual java.io.OutputStream.write:(I)V
         2: .line 92
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.written:J
            lconst_1
            ladd
            putfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.written:J
         3: .line 93
            return
        end local 1 // int b
        end local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/tomcat/util/http/fileupload/ThresholdingOutputStream;
            0    4     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=5, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
        start local 1 // byte[] b
         0: .line 107
            aload 0 /* this */
            aload 1 /* b */
            arraylength
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.checkThreshold:(I)V
         1: .line 108
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.getStream:()Ljava/io/OutputStream;
            aload 1 /* b */
            invokevirtual java.io.OutputStream.write:([B)V
         2: .line 109
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.written:J
            aload 1 /* b */
            arraylength
            i2l
            ladd
            putfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.written:J
         3: .line 110
            return
        end local 1 // byte[] b
        end local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/tomcat/util/http/fileupload/ThresholdingOutputStream;
            0    4     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.tomcat.util.http.fileupload.ThresholdingOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 126
            aload 0 /* this */
            iload 3 /* len */
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.checkThreshold:(I)V
         1: .line 127
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.getStream:()Ljava/io/OutputStream;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.OutputStream.write:([BII)V
         2: .line 128
            aload 0 /* this */
            dup
            getfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.written:J
            iload 3 /* len */
            i2l
            ladd
            putfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.written:J
         3: .line 129
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/tomcat/util/http/fileupload/ThresholdingOutputStream;
            0    4     1     b  [B
            0    4     2   off  I
            0    4     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     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.tomcat.util.http.fileupload.ThresholdingOutputStream this
         0: .line 141
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.getStream:()Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.flush:()V
         1: .line 142
            return
        end local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/http/fileupload/ThresholdingOutputStream;
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
         0: .line 156
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.flush:()V
         1: .line 157
            goto 3
         2: .line 158
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
         3: .line 162
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.getStream:()Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         4: .line 163
            return
        end local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/tomcat/util/http/fileupload/ThresholdingOutputStream;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException
    Exceptions:
      throws java.io.IOException

  public boolean isThresholdExceeded();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
         0: .line 178
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.written:J
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.threshold:I
            i2l
            lcmp
            ifle 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/http/fileupload/ThresholdingOutputStream;

  protected void checkThreshold(int);
    descriptor: (I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
        start local 1 // int count
         0: .line 197
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.thresholdExceeded:Z
            ifne 3
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.written:J
            iload 1 /* count */
            i2l
            ladd
            aload 0 /* this */
            getfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.threshold:I
            i2l
            lcmp
            ifle 3
         1: .line 199
            aload 0 /* this */
            iconst_1
            putfield org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.thresholdExceeded:Z
         2: .line 200
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream.thresholdReached:()V
         3: .line 202
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int count
        end local 0 // org.apache.tomcat.util.http.fileupload.ThresholdingOutputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/apache/tomcat/util/http/fileupload/ThresholdingOutputStream;
            0    4     1  count  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      count  final

  protected abstract java.io.OutputStream getStream();
    descriptor: ()Ljava/io/OutputStream;
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException

  protected abstract void thresholdReached();
    descriptor: ()V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException
}
SourceFile: "ThresholdingOutputStream.java"