public class org.apache.tomcat.util.net.SocketBufferHandler
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.tomcat.util.net.SocketBufferHandler
  super_class: java.lang.Object
{
  static org.apache.tomcat.util.net.SocketBufferHandler EMPTY;
    descriptor: Lorg/apache/tomcat/util/net/SocketBufferHandler;
    flags: (0x0008) ACC_STATIC

  private volatile boolean readBufferConfiguredForWrite;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile java.nio.ByteBuffer readBuffer;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile boolean writeBufferConfiguredForWrite;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile java.nio.ByteBuffer writeBuffer;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private final boolean direct;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=0, args_size=0
         0: .line 26
            new org.apache.tomcat.util.net.SocketBufferHandler$1
            dup
            iconst_0
            iconst_0
            iconst_0
            invokespecial org.apache.tomcat.util.net.SocketBufferHandler$1.<init>:(IIZ)V
            putstatic org.apache.tomcat.util.net.SocketBufferHandler.EMPTY:Lorg/apache/tomcat/util/net/SocketBufferHandler;
         1: .line 41
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(int, int, boolean);
    descriptor: (IIZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
        start local 1 // int readBufferSize
        start local 2 // int writeBufferSize
        start local 3 // boolean direct
         0: .line 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            aload 0 /* this */
            iconst_1
            putfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
         2: .line 46
            aload 0 /* this */
            iconst_1
            putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
         3: .line 53
            aload 0 /* this */
            iload 3 /* direct */
            putfield org.apache.tomcat.util.net.SocketBufferHandler.direct:Z
         4: .line 54
            iload 3 /* direct */
            ifeq 8
         5: .line 55
            aload 0 /* this */
            iload 1 /* readBufferSize */
            invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
            putfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
         6: .line 56
            aload 0 /* this */
            iload 2 /* writeBufferSize */
            invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
            putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
         7: .line 57
            goto 10
         8: .line 58
      StackMap locals: org.apache.tomcat.util.net.SocketBufferHandler int int int
      StackMap stack:
            aload 0 /* this */
            iload 1 /* readBufferSize */
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            putfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
         9: .line 59
            aload 0 /* this */
            iload 2 /* writeBufferSize */
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
        10: .line 61
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean direct
        end local 2 // int writeBufferSize
        end local 1 // int readBufferSize
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   11     0             this  Lorg/apache/tomcat/util/net/SocketBufferHandler;
            0   11     1   readBufferSize  I
            0   11     2  writeBufferSize  I
            0   11     3           direct  Z
    MethodParameters:
                 Name  Flags
      readBufferSize   
      writeBufferSize  
      direct           

  public void configureReadBufferForWrite();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 65
            aload 0 /* this */
            iconst_1
            invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.setReadBufferConfiguredForWrite:(Z)V
         1: .line 66
            return
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  public void configureReadBufferForRead();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 70
            aload 0 /* this */
            iconst_0
            invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.setReadBufferConfiguredForWrite:(Z)V
         1: .line 71
            return
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  private void setReadBufferConfiguredForWrite(boolean);
    descriptor: (Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
        start local 1 // boolean readBufferConFiguredForWrite
         0: .line 76
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
            iload 1 /* readBufferConFiguredForWrite */
            if_icmpeq 10
         1: .line 77
            iload 1 /* readBufferConFiguredForWrite */
            ifeq 8
         2: .line 79
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 2 /* remaining */
        start local 2 // int remaining
         3: .line 80
            iload 2 /* remaining */
            ifne 6
         4: .line 81
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
         5: .line 82
            goto 9
         6: .line 83
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
        end local 2 // int remaining
         7: .line 85
            goto 9
         8: .line 87
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            pop
         9: .line 89
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* readBufferConFiguredForWrite */
            putfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
        10: .line 91
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean readBufferConFiguredForWrite
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot                          Name  Signature
            0   11     0                          this  Lorg/apache/tomcat/util/net/SocketBufferHandler;
            0   11     1  readBufferConFiguredForWrite  Z
            3    7     2                     remaining  I
    MethodParameters:
                              Name  Flags
      readBufferConFiguredForWrite  

  public java.nio.ByteBuffer getReadBuffer();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 95
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            areturn
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  public boolean isReadBufferEmpty();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 100
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
            ifeq 3
         1: .line 101
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            ifne 2
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         2: iconst_0
            ireturn
         3: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            ifne 4
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         4: iconst_0
            ireturn
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  public void unReadReadBuffer(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
        start local 1 // java.nio.ByteBuffer returnedData
         0: .line 109
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.isReadBufferEmpty:()Z
            ifeq 4
         1: .line 110
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureReadBufferForWrite:()V
         2: .line 111
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            aload 1 /* returnedData */
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            pop
         3: .line 112
            goto 40
         4: .line 113
      StackMap locals:
      StackMap stack:
            aload 1 /* returnedData */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 2 /* bytesReturned */
        start local 2 // int bytesReturned
         5: .line 114
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
            ifeq 20
         6: .line 116
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 2 /* bytesReturned */
            iadd
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            if_icmple 8
         7: .line 117
            new java.nio.BufferOverflowException
            dup
            invokespecial java.nio.BufferOverflowException.<init>:()V
            athrow
         8: .line 120
      StackMap locals: int
      StackMap stack:
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         9: goto 12
        10: .line 121
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 3 /* i */
            iload 2 /* bytesReturned */
            iadd
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 3 /* i */
            invokevirtual java.nio.ByteBuffer.get:(I)B
            invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
            pop
        11: .line 120
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 3 /* i */
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            if_icmplt 10
        end local 3 // int i
        13: .line 124
            iconst_0
            istore 3 /* i */
        start local 3 // int i
        14: goto 17
        15: .line 125
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 3 /* i */
            aload 1 /* returnedData */
            invokevirtual java.nio.ByteBuffer.get:()B
            invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
            pop
        16: .line 124
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        17: iload 3 /* i */
            iload 2 /* bytesReturned */
            if_icmplt 15
        end local 3 // int i
        18: .line 128
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 2 /* bytesReturned */
            iadd
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
        19: .line 130
            goto 40
        20: .line 132
      StackMap locals:
      StackMap stack:
            iload 2 /* bytesReturned */
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            isub
            istore 3 /* shiftRequired */
        start local 3 // int shiftRequired
        21: .line 133
            iload 3 /* shiftRequired */
            ifle 32
        22: .line 134
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.limit:()I
            isub
            iload 3 /* shiftRequired */
            if_icmpge 24
        23: .line 135
            new java.nio.BufferOverflowException
            dup
            invokespecial java.nio.BufferOverflowException.<init>:()V
            athrow
        24: .line 138
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.limit:()I
            istore 4 /* oldLimit */
        start local 4 // int oldLimit
        25: .line 139
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 4 /* oldLimit */
            iload 3 /* shiftRequired */
            iadd
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        26: .line 140
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            istore 5 /* i */
        start local 5 // int i
        27: goto 30
        28: .line 141
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 5 /* i */
            iload 3 /* shiftRequired */
            iadd
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 5 /* i */
            invokevirtual java.nio.ByteBuffer.get:(I)B
            invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
            pop
        29: .line 140
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        30: iload 5 /* i */
            iload 4 /* oldLimit */
            if_icmplt 28
        end local 5 // int i
        end local 4 // int oldLimit
        31: .line 143
            goto 33
        32: .line 144
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* shiftRequired */
        33: .line 147
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 3 /* shiftRequired */
            iadd
            iload 2 /* bytesReturned */
            isub
            istore 4 /* insertOffset */
        start local 4 // int insertOffset
        34: .line 148
            iload 4 /* insertOffset */
            istore 5 /* i */
        start local 5 // int i
        35: goto 38
        36: .line 149
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 5 /* i */
            aload 1 /* returnedData */
            invokevirtual java.nio.ByteBuffer.get:()B
            invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
            pop
        37: .line 148
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        38: iload 5 /* i */
            iload 2 /* bytesReturned */
            iload 4 /* insertOffset */
            iadd
            if_icmplt 36
        end local 5 // int i
        39: .line 151
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 4 /* insertOffset */
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
        end local 4 // int insertOffset
        end local 3 // int shiftRequired
        end local 2 // int bytesReturned
        40: .line 154
      StackMap locals: org.apache.tomcat.util.net.SocketBufferHandler java.nio.ByteBuffer
      StackMap stack:
            return
        end local 1 // java.nio.ByteBuffer returnedData
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   41     0           this  Lorg/apache/tomcat/util/net/SocketBufferHandler;
            0   41     1   returnedData  Ljava/nio/ByteBuffer;
            5   40     2  bytesReturned  I
            9   13     3              i  I
           14   18     3              i  I
           21   40     3  shiftRequired  I
           25   31     4       oldLimit  I
           27   31     5              i  I
           34   40     4   insertOffset  I
           35   39     5              i  I
    MethodParameters:
              Name  Flags
      returnedData  

  public void configureWriteBufferForWrite();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 158
            aload 0 /* this */
            iconst_1
            invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.setWriteBufferConfiguredForWrite:(Z)V
         1: .line 159
            return
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  public void configureWriteBufferForRead();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 163
            aload 0 /* this */
            iconst_0
            invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.setWriteBufferConfiguredForWrite:(Z)V
         1: .line 164
            return
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  private void setWriteBufferConfiguredForWrite(boolean);
    descriptor: (Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
        start local 1 // boolean writeBufferConfiguredForWrite
         0: .line 169
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
            iload 1 /* writeBufferConfiguredForWrite */
            if_icmpeq 12
         1: .line 170
            iload 1 /* writeBufferConfiguredForWrite */
            ifeq 10
         2: .line 172
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 2 /* remaining */
        start local 2 // int remaining
         3: .line 173
            iload 2 /* remaining */
            ifne 6
         4: .line 174
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
         5: .line 175
            goto 11
         6: .line 176
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
            pop
         7: .line 177
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            iload 2 /* remaining */
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         8: .line 178
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        end local 2 // int remaining
         9: .line 180
            goto 11
        10: .line 182
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
            pop
        11: .line 184
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* writeBufferConfiguredForWrite */
            putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
        12: .line 186
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean writeBufferConfiguredForWrite
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot                           Name  Signature
            0   13     0                           this  Lorg/apache/tomcat/util/net/SocketBufferHandler;
            0   13     1  writeBufferConfiguredForWrite  Z
            3    9     2                      remaining  I
    MethodParameters:
                               Name  Flags
      writeBufferConfiguredForWrite  

  public boolean isWriteBufferWritable();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 190
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
            ifeq 2
         1: .line 191
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ireturn
         2: .line 193
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            ifne 3
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         3: iconst_0
            ireturn
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  public java.nio.ByteBuffer getWriteBuffer();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 199
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            areturn
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  public boolean isWriteBufferEmpty();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 204
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
            ifeq 3
         1: .line 205
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            ifne 2
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         2: iconst_0
            ireturn
         3: .line 207
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            ifne 4
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         4: iconst_0
            ireturn
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  public void reset();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 213
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
         1: .line 214
            aload 0 /* this */
            iconst_1
            putfield org.apache.tomcat.util.net.SocketBufferHandler.readBufferConfiguredForWrite:Z
         2: .line 215
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
            pop
         3: .line 216
            aload 0 /* this */
            iconst_1
            putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBufferConfiguredForWrite:Z
         4: .line 217
            return
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;

  public void expand(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
        start local 1 // int newSize
         0: .line 221
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureReadBufferForWrite:()V
         1: .line 222
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            iload 1 /* newSize */
            invokestatic org.apache.tomcat.util.buf.ByteBufferUtils.expand:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
            putfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
         2: .line 223
            aload 0 /* this */
            invokevirtual org.apache.tomcat.util.net.SocketBufferHandler.configureWriteBufferForWrite:()V
         3: .line 224
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            iload 1 /* newSize */
            invokestatic org.apache.tomcat.util.buf.ByteBufferUtils.expand:(Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
            putfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
         4: .line 225
            return
        end local 1 // int newSize
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lorg/apache/tomcat/util/net/SocketBufferHandler;
            0    5     1  newSize  I
    MethodParameters:
         Name  Flags
      newSize  

  public void free();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
         0: .line 228
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.direct:Z
            ifeq 3
         1: .line 229
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.readBuffer:Ljava/nio/ByteBuffer;
            invokestatic org.apache.tomcat.util.buf.ByteBufferUtils.cleanDirectBuffer:(Ljava/nio/ByteBuffer;)V
         2: .line 230
            aload 0 /* this */
            getfield org.apache.tomcat.util.net.SocketBufferHandler.writeBuffer:Ljava/nio/ByteBuffer;
            invokestatic org.apache.tomcat.util.buf.ByteBufferUtils.cleanDirectBuffer:(Ljava/nio/ByteBuffer;)V
         3: .line 232
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.tomcat.util.net.SocketBufferHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/tomcat/util/net/SocketBufferHandler;
}
SourceFile: "SocketBufferHandler.java"
NestMembers:
  org.apache.tomcat.util.net.SocketBufferHandler$1
InnerClasses:
  org.apache.tomcat.util.net.SocketBufferHandler$1