public abstract class org.glassfish.grizzly.streams.BufferedInput implements org.glassfish.grizzly.streams.Input
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.glassfish.grizzly.streams.BufferedInput
  super_class: java.lang.Object
{
  protected final org.glassfish.grizzly.memory.CompositeBuffer compositeBuffer;
    descriptor: Lorg/glassfish/grizzly/memory/CompositeBuffer;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

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

  protected final java.util.concurrent.locks.ReentrantReadWriteLock lock;
    descriptor: Ljava/util/concurrent/locks/ReentrantReadWriteLock;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected boolean isCompletionHandlerRegistered;
    descriptor: Z
    flags: (0x0004) ACC_PROTECTED

  protected java.lang.Exception registrationStackTrace;
    descriptor: Ljava/lang/Exception;
    flags: (0x0004) ACC_PROTECTED

  protected org.glassfish.grizzly.utils.conditions.Condition condition;
    descriptor: Lorg/glassfish/grizzly/utils/conditions/Condition;
    flags: (0x0004) ACC_PROTECTED

  protected org.glassfish.grizzly.CompletionHandler<java.lang.Integer> completionHandler;
    descriptor: Lorg/glassfish/grizzly/CompletionHandler;
    flags: (0x0004) ACC_PROTECTED
    Signature: Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;

  protected org.glassfish.grizzly.impl.FutureImpl<java.lang.Integer> future;
    descriptor: Lorg/glassfish/grizzly/impl/FutureImpl;
    flags: (0x0004) ACC_PROTECTED
    Signature: Lorg/glassfish/grizzly/impl/FutureImpl<Ljava/lang/Integer;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
         0: .line 50
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 41
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantReadWriteLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
            putfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
         2: .line 51
            aload 0 /* this */
            invokestatic org.glassfish.grizzly.memory.CompositeBuffer.newBuffer:()Lorg/glassfish/grizzly/memory/CompositeBuffer;
            putfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
         3: .line 52
            return
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/glassfish/grizzly/streams/BufferedInput;

  protected abstract void onOpenInputSource();
    descriptor: ()V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException

  protected abstract void onCloseInputSource();
    descriptor: ()V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException

  public boolean append(org.glassfish.grizzly.Buffer);
    descriptor: (Lorg/glassfish/grizzly/Buffer;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
        start local 1 // org.glassfish.grizzly.Buffer buffer
         0: .line 59
            aload 1 /* buffer */
            ifnonnull 2
         1: .line 60
            iconst_0
            ireturn
         2: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock:()V
         3: .line 66
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.isClosed:Z
            ifeq 6
         4: .line 67
            aload 1 /* buffer */
            invokeinterface org.glassfish.grizzly.Buffer.dispose:()V
         5: .line 68
            goto 14
         6: .line 69
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
            istore 2 /* addSize */
        start local 2 // int addSize
         7: .line 70
            iload 2 /* addSize */
            ifle 9
         8: .line 71
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            aload 1 /* buffer */
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
            pop
         9: .line 73
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.notifyUpdate:()V
        end local 2 // int addSize
        10: .line 75
            goto 14
      StackMap locals: org.glassfish.grizzly.streams.BufferedInput org.glassfish.grizzly.Buffer
      StackMap stack: java.lang.Throwable
        11: astore 3
        12: .line 76
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        13: .line 77
            aload 3
            athrow
        14: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        15: .line 79
            iconst_1
            ireturn
        end local 1 // org.glassfish.grizzly.Buffer buffer
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   16     0     this  Lorg/glassfish/grizzly/streams/BufferedInput;
            0   16     1   buffer  Lorg/glassfish/grizzly/Buffer;
            7   10     2  addSize  I
      Exception table:
        from    to  target  type
           3    11      11  any
    MethodParameters:
        Name  Flags
      buffer  final

  public boolean prepend(org.glassfish.grizzly.Buffer);
    descriptor: (Lorg/glassfish/grizzly/Buffer;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
        start local 1 // org.glassfish.grizzly.Buffer buffer
         0: .line 83
            aload 1 /* buffer */
            ifnonnull 2
         1: .line 84
            iconst_0
            ireturn
         2: .line 87
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock:()V
         3: .line 90
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.isClosed:Z
            ifeq 6
         4: .line 91
            aload 1 /* buffer */
            invokeinterface org.glassfish.grizzly.Buffer.dispose:()V
         5: .line 92
            goto 14
         6: .line 93
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
            istore 2 /* addSize */
        start local 2 // int addSize
         7: .line 94
            iload 2 /* addSize */
            ifle 9
         8: .line 95
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            aload 1 /* buffer */
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.prepend:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
            pop
         9: .line 98
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.notifyUpdate:()V
        end local 2 // int addSize
        10: .line 100
            goto 14
      StackMap locals: org.glassfish.grizzly.streams.BufferedInput org.glassfish.grizzly.Buffer
      StackMap stack: java.lang.Throwable
        11: astore 3
        12: .line 101
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        13: .line 102
            aload 3
            athrow
        14: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        15: .line 104
            iconst_1
            ireturn
        end local 1 // org.glassfish.grizzly.Buffer buffer
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   16     0     this  Lorg/glassfish/grizzly/streams/BufferedInput;
            0   16     1   buffer  Lorg/glassfish/grizzly/Buffer;
            7   10     2  addSize  I
      Exception table:
        from    to  target  type
           3    11      11  any
    MethodParameters:
        Name  Flags
      buffer  final

  public byte read();
    descriptor: ()B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
         0: .line 109
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.get:()B
            istore 1 /* result */
        start local 1 // byte result
         1: .line 110
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.shrink:()V
         2: .line 111
            iload 1 /* result */
            ireturn
        end local 1 // byte result
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/glassfish/grizzly/streams/BufferedInput;
            1    3     1  result  B
    Exceptions:
      throws java.io.IOException

  public void skip(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
        start local 1 // int length
         0: .line 116
            iload 1 /* length */
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.size:()I
            if_icmple 2
         1: .line 117
            new java.lang.IllegalStateException
            dup
            ldc "Can not skip more bytes than available"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.position:()I
            iload 1 /* length */
            iadd
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.position:(I)Lorg/glassfish/grizzly/Buffer;
            pop
         3: .line 121
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.shrink:()V
         4: .line 122
            return
        end local 1 // int length
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/glassfish/grizzly/streams/BufferedInput;
            0    5     1  length  I
    MethodParameters:
        Name  Flags
      length  

  public final boolean isBuffered();
    descriptor: ()Z
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
         0: .line 126
            iconst_1
            ireturn
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/streams/BufferedInput;

  public org.glassfish.grizzly.Buffer getBuffer();
    descriptor: ()Lorg/glassfish/grizzly/Buffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
         0: .line 131
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            areturn
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/streams/BufferedInput;

  public org.glassfish.grizzly.Buffer takeBuffer();
    descriptor: ()Lorg/glassfish/grizzly/Buffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
         0: .line 136
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.duplicate:()Lorg/glassfish/grizzly/Buffer;
            astore 1 /* duplicate */
        start local 1 // org.glassfish.grizzly.Buffer duplicate
         1: .line 137
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.removeAll:()V
         2: .line 138
            aload 1 /* duplicate */
            areturn
        end local 1 // org.glassfish.grizzly.Buffer duplicate
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lorg/glassfish/grizzly/streams/BufferedInput;
            1    3     1  duplicate  Lorg/glassfish/grizzly/Buffer;

  public int size();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
         0: .line 143
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.remaining:()I
            ireturn
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/streams/BufferedInput;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
         0: .line 148
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock:()V
         1: .line 150
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.isClosed:Z
            ifne 13
         2: .line 151
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.streams.BufferedInput.isClosed:Z
         3: .line 153
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.dispose:()V
         4: .line 155
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
            astore 1 /* localCompletionHandler */
        start local 1 // org.glassfish.grizzly.CompletionHandler localCompletionHandler
         5: .line 156
            aload 1 /* localCompletionHandler */
            ifnull 13
         6: .line 157
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.streams.BufferedInput.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
         7: .line 158
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.streams.BufferedInput.isCompletionHandlerRegistered:Z
         8: .line 159
            aload 0 /* this */
            aload 1 /* localCompletionHandler */
            new java.io.EOFException
            dup
            ldc "Input is closed"
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.notifyFailure:(Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
        end local 1 // org.glassfish.grizzly.CompletionHandler localCompletionHandler
         9: .line 162
            goto 13
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: astore 2
        11: .line 163
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        12: .line 164
            aload 2
            athrow
        13: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        14: .line 166
            return
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   15     0                    this  Lorg/glassfish/grizzly/streams/BufferedInput;
            5    9     1  localCompletionHandler  Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
      Exception table:
        from    to  target  type
           1    10      10  any

  public org.glassfish.grizzly.GrizzlyFuture<java.lang.Integer> notifyCondition(org.glassfish.grizzly.utils.conditions.Condition, org.glassfish.grizzly.CompletionHandler<java.lang.Integer>);
    descriptor: (Lorg/glassfish/grizzly/utils/conditions/Condition;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
        start local 1 // org.glassfish.grizzly.utils.conditions.Condition condition
        start local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
         0: .line 170
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock:()V
         1: .line 173
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.isCompletionHandlerRegistered:Z
            ifne 23
         2: .line 174
            aload 1 /* condition */
            invokeinterface org.glassfish.grizzly.utils.conditions.Condition.check:()Z
            ifeq 7
         3: .line 175
            aload 0 /* this */
            aload 2 /* completionHandler */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.notifyCompleted:(Lorg/glassfish/grizzly/CompletionHandler;)V
         4: .line 176
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokestatic org.glassfish.grizzly.impl.ReadyFutureImpl.create:(Ljava/lang/Object;)Lorg/glassfish/grizzly/impl/ReadyFutureImpl;
            astore 6
         5: .line 198
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
         6: .line 176
            aload 6
            areturn
         7: .line 179
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new java.lang.Exception
            dup
            invokespecial java.lang.Exception.<init>:()V
            putfield org.glassfish.grizzly.streams.BufferedInput.registrationStackTrace:Ljava/lang/Exception;
         8: .line 180
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.streams.BufferedInput.isCompletionHandlerRegistered:Z
         9: .line 181
            aload 0 /* this */
            aload 2 /* completionHandler */
            putfield org.glassfish.grizzly.streams.BufferedInput.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
        10: .line 182
            invokestatic org.glassfish.grizzly.impl.SafeFutureImpl.create:()Lorg/glassfish/grizzly/impl/SafeFutureImpl;
            astore 3 /* localFuture */
        start local 3 // org.glassfish.grizzly.impl.FutureImpl localFuture
        11: .line 183
            aload 0 /* this */
            aload 3 /* localFuture */
            putfield org.glassfish.grizzly.streams.BufferedInput.future:Lorg/glassfish/grizzly/impl/FutureImpl;
        12: .line 184
            aload 0 /* this */
            aload 1 /* condition */
            putfield org.glassfish.grizzly.streams.BufferedInput.condition:Lorg/glassfish/grizzly/utils/conditions/Condition;
        13: .line 187
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.onOpenInputSource:()V
        14: .line 188
            goto 20
      StackMap locals: org.glassfish.grizzly.streams.BufferedInput org.glassfish.grizzly.utils.conditions.Condition org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.impl.FutureImpl
      StackMap stack: java.io.IOException
        15: astore 4 /* e */
        start local 4 // java.io.IOException e
        16: .line 189
            aload 0 /* this */
            aload 2 /* completionHandler */
            aload 4 /* e */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.notifyFailure:(Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
        17: .line 190
            aload 4 /* e */
            invokestatic org.glassfish.grizzly.impl.ReadyFutureImpl.create:(Ljava/lang/Throwable;)Lorg/glassfish/grizzly/impl/ReadyFutureImpl;
            astore 6
        18: .line 198
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        19: .line 190
            aload 6
            areturn
        end local 4 // java.io.IOException e
        20: .line 193
      StackMap locals:
      StackMap stack:
            aload 3 /* localFuture */
            astore 6
        21: .line 198
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        22: .line 193
            aload 6
            areturn
        end local 3 // org.glassfish.grizzly.impl.FutureImpl localFuture
        23: .line 195
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            ldc "Only one notificator could be registered. Previous registration came from: "
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.registrationStackTrace:Ljava/lang/Exception;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        24: .line 197
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        25: .line 198
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.lock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
            invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock:()V
        26: .line 199
            aload 5
            athrow
        end local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 1 // org.glassfish.grizzly.utils.conditions.Condition condition
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   27     0               this  Lorg/glassfish/grizzly/streams/BufferedInput;
            0   27     1          condition  Lorg/glassfish/grizzly/utils/conditions/Condition;
            0   27     2  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
           11   23     3        localFuture  Lorg/glassfish/grizzly/impl/FutureImpl<Ljava/lang/Integer;>;
           16   20     4                  e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
          13    14      15  Class java.io.IOException
           1     5      24  any
           7    18      24  any
          20    21      24  any
          23    24      24  any
    Signature: (Lorg/glassfish/grizzly/utils/conditions/Condition;Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;)Lorg/glassfish/grizzly/GrizzlyFuture<Ljava/lang/Integer;>;
    MethodParameters:
                   Name  Flags
      condition          
      completionHandler  

  private void notifyUpdate();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
         0: .line 203
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.condition:Lorg/glassfish/grizzly/utils/conditions/Condition;
            ifnull 14
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.condition:Lorg/glassfish/grizzly/utils/conditions/Condition;
            invokeinterface org.glassfish.grizzly.utils.conditions.Condition.check:()Z
            ifeq 14
         1: .line 204
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.streams.BufferedInput.condition:Lorg/glassfish/grizzly/utils/conditions/Condition;
         2: .line 205
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
            astore 1 /* localCompletionHandler */
        start local 1 // org.glassfish.grizzly.CompletionHandler localCompletionHandler
         3: .line 206
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.streams.BufferedInput.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
         4: .line 208
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.future:Lorg/glassfish/grizzly/impl/FutureImpl;
            astore 2 /* localFuture */
        start local 2 // org.glassfish.grizzly.impl.FutureImpl localFuture
         5: .line 209
            aload 0 /* this */
            aconst_null
            putfield org.glassfish.grizzly.streams.BufferedInput.future:Lorg/glassfish/grizzly/impl/FutureImpl;
         6: .line 210
            aload 0 /* this */
            iconst_0
            putfield org.glassfish.grizzly.streams.BufferedInput.isCompletionHandlerRegistered:Z
         7: .line 214
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.onCloseInputSource:()V
         8: .line 215
            aload 0 /* this */
            aload 1 /* localCompletionHandler */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.notifyCompleted:(Lorg/glassfish/grizzly/CompletionHandler;)V
         9: .line 216
            aload 2 /* localFuture */
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface org.glassfish.grizzly.impl.FutureImpl.result:(Ljava/lang/Object;)V
        10: .line 217
            goto 14
      StackMap locals: org.glassfish.grizzly.streams.BufferedInput org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.impl.FutureImpl
      StackMap stack: java.io.IOException
        11: astore 3 /* e */
        start local 3 // java.io.IOException e
        12: .line 218
            aload 0 /* this */
            aload 1 /* localCompletionHandler */
            aload 3 /* e */
            invokevirtual org.glassfish.grizzly.streams.BufferedInput.notifyFailure:(Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
        13: .line 219
            aload 2 /* localFuture */
            aload 3 /* e */
            invokeinterface org.glassfish.grizzly.impl.FutureImpl.failure:(Ljava/lang/Throwable;)V
        end local 3 // java.io.IOException e
        end local 2 // org.glassfish.grizzly.impl.FutureImpl localFuture
        end local 1 // org.glassfish.grizzly.CompletionHandler localCompletionHandler
        14: .line 222
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   15     0                    this  Lorg/glassfish/grizzly/streams/BufferedInput;
            3   14     1  localCompletionHandler  Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
            5   14     2             localFuture  Lorg/glassfish/grizzly/impl/FutureImpl<Ljava/lang/Integer;>;
           12   14     3                       e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           7    10      11  Class java.io.IOException

  protected void notifyCompleted(org.glassfish.grizzly.CompletionHandler<java.lang.Integer>);
    descriptor: (Lorg/glassfish/grizzly/CompletionHandler;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
        start local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
         0: .line 225
            aload 1 /* completionHandler */
            ifnull 2
         1: .line 226
            aload 1 /* completionHandler */
            aload 0 /* this */
            getfield org.glassfish.grizzly.streams.BufferedInput.compositeBuffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
            invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.remaining:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
         2: .line 228
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    3     0               this  Lorg/glassfish/grizzly/streams/BufferedInput;
            0    3     1  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
    Signature: (Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;)V
    MethodParameters:
                   Name  Flags
      completionHandler  final

  protected void notifyFailure(org.glassfish.grizzly.CompletionHandler<java.lang.Integer>, java.lang.Throwable);
    descriptor: (Lorg/glassfish/grizzly/CompletionHandler;Ljava/lang/Throwable;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.streams.BufferedInput this
        start local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 2 // java.lang.Throwable failure
         0: .line 231
            aload 1 /* completionHandler */
            ifnull 2
         1: .line 232
            aload 1 /* completionHandler */
            aload 2 /* failure */
            invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
         2: .line 234
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Throwable failure
        end local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 0 // org.glassfish.grizzly.streams.BufferedInput this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    3     0               this  Lorg/glassfish/grizzly/streams/BufferedInput;
            0    3     1  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
            0    3     2            failure  Ljava/lang/Throwable;
    Signature: (Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;Ljava/lang/Throwable;)V
    MethodParameters:
                   Name  Flags
      completionHandler  final
      failure            final
}
SourceFile: "BufferedInput.java"
InnerClasses:
  public WriteLock = java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock of java.util.concurrent.locks.ReentrantReadWriteLock