class org.glassfish.grizzly.http2.DefaultOutputSink implements org.glassfish.grizzly.http2.StreamOutputSink
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.glassfish.grizzly.http2.DefaultOutputSink
  super_class: java.lang.Object
{
  private static final java.util.logging.Logger LOGGER;
    descriptor: Ljava/util/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final int MAX_OUTPUT_QUEUE_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 65536

  private static final int ZERO_QUEUE_RECORD_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  private static final org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord TERMINATING_QUEUE_RECORD;
    descriptor: Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  final org.glassfish.grizzly.asyncqueue.TaskQueue<org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord> outputQueue;
    descriptor: Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
    flags: (0x0010) ACC_FINAL
    Signature: Lorg/glassfish/grizzly/asyncqueue/TaskQueue<Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;>;

  private final java.util.concurrent.atomic.AtomicInteger availStreamWindowSize;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private org.glassfish.grizzly.http2.Termination terminationFlag;
    descriptor: Lorg/glassfish/grizzly/http2/Termination;
    flags: (0x0002) ACC_PRIVATE

  private final org.glassfish.grizzly.http2.Http2Session http2Session;
    descriptor: Lorg/glassfish/grizzly/http2/Http2Session;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.glassfish.grizzly.http2.Http2Stream stream;
    descriptor: Lorg/glassfish/grizzly/http2/Http2Stream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicInteger unflushedWritesCounter;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.Object flushHandlersSync;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private org.glassfish.grizzly.http2.BundleQueue<org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.http2.Http2Stream>> flushHandlersQueue;
    descriptor: Lorg/glassfish/grizzly/http2/BundleQueue;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lorg/glassfish/grizzly/http2/BundleQueue<Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/http2/Http2Stream;>;>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=0, args_size=0
         0: .line 59
            ldc Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.glassfish.grizzly.http2.DefaultOutputSink.$assertionsDisabled:Z
         3: .line 60
            ldc Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
            putstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
         4: .line 66
            new org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
            dup
            aconst_null
            aconst_null
            iconst_1
            iconst_1
            invokespecial org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.<init>:(Lorg/glassfish/grizzly/http2/Source;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;ZZ)V
            putstatic org.glassfish.grizzly.http2.DefaultOutputSink.TERMINATING_QUEUE_RECORD:Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(org.glassfish.grizzly.http2.Http2Stream);
    descriptor: (Lorg/glassfish/grizzly/http2/Http2Stream;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.http2.Http2Stream stream
         0: .line 98
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 69
            aload 0 /* this */
            new org.glassfish.grizzly.http2.DefaultOutputSink$1
            dup
            aload 0 /* this */
            invokespecial org.glassfish.grizzly.http2.DefaultOutputSink$1.<init>:(Lorg/glassfish/grizzly/http2/DefaultOutputSink;)V
            invokestatic org.glassfish.grizzly.asyncqueue.TaskQueue.createTaskQueue:(Lorg/glassfish/grizzly/asyncqueue/TaskQueue$MutableMaxQueueSize;)Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
         2: .line 92
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
         3: .line 94
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.flushHandlersSync:Ljava/lang/Object;
         4: .line 99
            aload 0 /* this */
            aload 1 /* stream */
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
         5: .line 100
            aload 0 /* this */
            aload 1 /* stream */
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.getHttp2Session:()Lorg/glassfish/grizzly/http2/Http2Session;
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
         6: .line 101
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            aload 1 /* stream */
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.getPeerWindowSize:()I
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.availStreamWindowSize:Ljava/util/concurrent/atomic/AtomicInteger;
         7: .line 102
            return
        end local 1 // org.glassfish.grizzly.http2.Http2Stream stream
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    8     1  stream  Lorg/glassfish/grizzly/http2/Http2Stream;
    MethodParameters:
        Name  Flags
      stream  final

  public boolean canWrite();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
         0: .line 106
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.size:()I
            ldc 65536
            if_icmpge 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;

  public void notifyWritePossible(org.glassfish.grizzly.WriteHandler);
    descriptor: (Lorg/glassfish/grizzly/WriteHandler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.WriteHandler writeHandler
         0: .line 111
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            aload 1 /* writeHandler */
            ldc 65536
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.notifyWritePossible:(Lorg/glassfish/grizzly/WriteHandler;I)V
         1: .line 112
            return
        end local 1 // org.glassfish.grizzly.WriteHandler writeHandler
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    2     1  writeHandler  Lorg/glassfish/grizzly/WriteHandler;
    MethodParameters:
              Name  Flags
      writeHandler  final

  private void assertReady();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
         0: .line 116
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.isTerminated:()Z
            ifeq 4
         1: .line 117
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
            ifeq 3
         2: .line 118
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
            ldc "Terminated!!! id={0} description={1}"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.getId:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.terminationFlag:Lorg/glassfish/grizzly/http2/Termination;
            invokevirtual org.glassfish.grizzly.http2.Termination.getDescription:()Ljava/lang/String;
            aastore
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
         3: .line 120
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.terminationFlag:Lorg/glassfish/grizzly/http2/Termination;
            invokevirtual org.glassfish.grizzly.http2.Termination.getDescription:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.isLastFrameQueued:Z
            ifeq 6
         5: .line 122
            new java.io.IOException
            dup
            ldc "Write beyond end of stream"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 124
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
    Exceptions:
      throws java.io.IOException

  public void onPeerWindowUpdate(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=13, args_size=2
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // int delta
         0: .line 135
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.availStreamWindowSize:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            istore 2 /* currentWindow */
        start local 2 // int currentWindow
         1: .line 136
            iload 1 /* delta */
            ifle 3
            iload 2 /* currentWindow */
            ifle 3
            iload 2 /* currentWindow */
            iload 1 /* delta */
            iadd
            ifge 3
         2: .line 137
            new org.glassfish.grizzly.http2.Http2StreamException
            dup
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.getId:()I
            getstatic org.glassfish.grizzly.http2.frames.ErrorCode.FLOW_CONTROL_ERROR:Lorg/glassfish/grizzly/http2/frames/ErrorCode;
            ldc "Session flow-control window overflow."
            invokespecial org.glassfish.grizzly.http2.Http2StreamException.<init>:(ILorg/glassfish/grizzly/http2/frames/ErrorCode;Ljava/lang/String;)V
            athrow
         3: .line 140
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.availStreamWindowSize:Ljava/util/concurrent/atomic/AtomicInteger;
            iload 1 /* delta */
            invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
            pop
         4: .line 143
            goto 46
         5: .line 147
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.poll:()Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;
            checkcast org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
            astore 3 /* outputQueueRecord */
        start local 3 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord outputQueueRecord
         6: .line 150
            aload 3 /* outputQueueRecord */
            ifnonnull 8
         7: .line 151
            return
         8: .line 155
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
      StackMap stack:
            aload 3 /* outputQueueRecord */
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.TERMINATING_QUEUE_RECORD:Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
            if_acmpne 12
         9: .line 157
            aload 0 /* this */
            iconst_0
            iconst_1
            iconst_1
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.releaseWriteQueueSpace:(IZZ)V
        10: .line 158
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.writeEmptyFin:()V
        11: .line 159
            return
        12: .line 162
      StackMap locals:
      StackMap stack:
            aload 3 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.chunkedCompletionHandler:Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;
            astore 4 /* completionHandler */
        start local 4 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler completionHandler
        13: .line 163
            aload 3 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.isLast:Z
            istore 5 /* isLast */
        start local 5 // boolean isLast
        14: .line 164
            aload 3 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.isZeroSizeData:Z
            istore 6 /* isZeroSizeData */
        start local 6 // boolean isZeroSizeData
        15: .line 165
            aload 3 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.resource:Lorg/glassfish/grizzly/http2/Source;
            astore 7 /* resource */
        start local 7 // org.glassfish.grizzly.http2.Source resource
        16: .line 167
            aload 3 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.trailer:Lorg/glassfish/grizzly/http/HttpTrailer;
            astore 8 /* currentTrailer */
        start local 8 // org.glassfish.grizzly.http.HttpTrailer currentTrailer
        17: .line 168
            aload 8 /* currentTrailer */
            ifnull 21
        18: .line 169
            aconst_null
            astore 3 /* outputQueueRecord */
        19: .line 170
            aload 0 /* this */
            aload 4 /* completionHandler */
            aload 8 /* currentTrailer */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
        20: .line 171
            return
        21: .line 176
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int org.glassfish.grizzly.http2.Source org.glassfish.grizzly.http.HttpTrailer
      StackMap stack:
            aload 0 /* this */
            aload 7 /* resource */
            invokevirtual org.glassfish.grizzly.http2.Source.remaining:()I
            i2l
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.checkOutputWindow:(J)I
            istore 9 /* bytesToSend */
        start local 9 // int bytesToSend
        22: .line 177
            aload 7 /* resource */
            iload 9 /* bytesToSend */
            invokevirtual org.glassfish.grizzly.http2.Source.read:(I)Lorg/glassfish/grizzly/Buffer;
            astore 10 /* dataChunkToSend */
        start local 10 // org.glassfish.grizzly.Buffer dataChunkToSend
        23: .line 178
            aload 7 /* resource */
            invokevirtual org.glassfish.grizzly.http2.Source.hasRemaining:()Z
            istore 11 /* hasRemaining */
        start local 11 // boolean hasRemaining
        24: .line 181
            iload 11 /* hasRemaining */
            ifeq 29
        25: .line 183
            aload 3 /* outputQueueRecord */
            aload 7 /* resource */
            aload 4 /* completionHandler */
            iload 5 /* isLast */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.reset:(Lorg/glassfish/grizzly/http2/Source;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;Z)V
        26: .line 184
            aload 3 /* outputQueueRecord */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.incChunksCounter:()V
        27: .line 187
            iconst_0
            istore 5 /* isLast */
        28: .line 188
            goto 31
        29: .line 189
      StackMap locals: int org.glassfish.grizzly.Buffer int
      StackMap stack:
            aload 3 /* outputQueueRecord */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.release:()V
        30: .line 190
            aconst_null
            astore 3 /* outputQueueRecord */
        31: .line 194
      StackMap locals:
      StackMap stack:
            aload 10 /* dataChunkToSend */
            ifnull 40
            aload 10 /* dataChunkToSend */
            invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
            ifne 32
            iload 5 /* isLast */
            ifeq 40
        32: .line 195
      StackMap locals:
      StackMap stack:
            aload 10 /* dataChunkToSend */
            invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
            istore 12 /* dataChunkToSendSize */
        start local 12 // int dataChunkToSendSize
        33: .line 198
            aload 0 /* this */
            aload 10 /* dataChunkToSend */
            aload 4 /* completionHandler */
            iload 5 /* isLast */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;Z)V
        34: .line 201
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.availStreamWindowSize:Ljava/util/concurrent/atomic/AtomicInteger;
            iload 12 /* dataChunkToSendSize */
            ineg
            invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
            pop
        35: .line 202
            aload 0 /* this */
            iload 12 /* dataChunkToSendSize */
            iload 6 /* isZeroSizeData */
            aload 3 /* outputQueueRecord */
            ifnonnull 36
            iconst_1
            goto 37
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int org.glassfish.grizzly.http2.Source org.glassfish.grizzly.http.HttpTrailer int org.glassfish.grizzly.Buffer int int
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink int int
        36: iconst_0
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int org.glassfish.grizzly.http2.Source org.glassfish.grizzly.http.HttpTrailer int org.glassfish.grizzly.Buffer int int
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink int int int
        37: invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.releaseWriteQueueSpace:(IZZ)V
        38: .line 204
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.doNotify:()V
        end local 12 // int dataChunkToSendSize
        39: .line 205
            goto 43
      StackMap locals:
      StackMap stack:
        40: iload 6 /* isZeroSizeData */
            ifeq 43
            aload 3 /* outputQueueRecord */
            ifnonnull 43
        41: .line 207
            aload 0 /* this */
            iconst_0
            iconst_1
            iconst_1
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.releaseWriteQueueSpace:(IZZ)V
        42: .line 208
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.doNotify:()V
        43: .line 211
      StackMap locals:
      StackMap stack:
            aload 3 /* outputQueueRecord */
            ifnull 46
        44: .line 213
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            aload 3 /* outputQueueRecord */
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.setCurrentElement:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)V
        45: .line 214
            goto 48
        end local 11 // boolean hasRemaining
        end local 10 // org.glassfish.grizzly.Buffer dataChunkToSend
        end local 9 // int bytesToSend
        end local 8 // org.glassfish.grizzly.http.HttpTrailer currentTrailer
        end local 7 // org.glassfish.grizzly.http2.Source resource
        end local 6 // boolean isZeroSizeData
        end local 5 // boolean isLast
        end local 4 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler completionHandler
        end local 3 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord outputQueueRecord
        46: .line 143
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink int int
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.isWantToWrite:()Z
            ifeq 47
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.isEmpty:()Z
            ifeq 5
        47: .line 144
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.peek:()Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;
            ifnull 48
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.peek:()Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;
            checkcast org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.trailer:Lorg/glassfish/grizzly/http/HttpTrailer;
            ifnonnull 5
        48: .line 217
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int currentWindow
        end local 1 // int delta
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   49     0                 this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0   49     1                delta  I
            1   49     2        currentWindow  I
            6   46     3    outputQueueRecord  Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
           13   46     4    completionHandler  Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;
           14   46     5               isLast  Z
           15   46     6       isZeroSizeData  Z
           16   46     7             resource  Lorg/glassfish/grizzly/http2/Source;
           17   46     8       currentTrailer  Lorg/glassfish/grizzly/http/HttpTrailer;
           22   46     9          bytesToSend  I
           23   46    10      dataChunkToSend  Lorg/glassfish/grizzly/Buffer;
           24   46    11         hasRemaining  Z
           33   39    12  dataChunkToSendSize  I
    Exceptions:
      throws org.glassfish.grizzly.http2.Http2StreamException
    MethodParameters:
       Name  Flags
      delta  final

  public synchronized void writeDownStream(org.glassfish.grizzly.http.HttpPacket, org.glassfish.grizzly.filterchain.FilterChainContext, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>, org.glassfish.grizzly.asyncqueue.MessageCloner<org.glassfish.grizzly.Buffer>);
    descriptor: (Lorg/glassfish/grizzly/http/HttpPacket;Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=6, args_size=5
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.http.HttpPacket httpPacket
        start local 2 // org.glassfish.grizzly.filterchain.FilterChainContext ctx
        start local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 4 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
         0: .line 233
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.$assertionsDisabled:Z
            ifne 1
            aload 2 /* ctx */
            ifnonnull 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 234
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.assertReady:()V
         2: .line 235
            aload 0 /* this */
            aload 1 /* httpPacket */
            aload 2 /* ctx */
            aload 3 /* completionHandler */
            aload 4 /* messageCloner */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.writeDownStream0:(Lorg/glassfish/grizzly/http/HttpPacket;Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
            astore 5 /* next */
        start local 5 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord next
         3: .line 236
            aload 5 /* next */
            ifnull 5
         4: .line 237
            aload 0 /* this */
            aload 5 /* next */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.addOutputQueueRecord:(Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;)V
         5: .line 239
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
      StackMap stack:
            return
        end local 5 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord next
        end local 4 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
        end local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 2 // org.glassfish.grizzly.filterchain.FilterChainContext ctx
        end local 1 // org.glassfish.grizzly.http.HttpPacket httpPacket
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    6     0               this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    6     1         httpPacket  Lorg/glassfish/grizzly/http/HttpPacket;
            0    6     2                ctx  Lorg/glassfish/grizzly/filterchain/FilterChainContext;
            0    6     3  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
            0    6     4      messageCloner  Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/Buffer;>;
            3    6     5               next  Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/glassfish/grizzly/http/HttpPacket;Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/Buffer;>;)V
    MethodParameters:
                   Name  Flags
      httpPacket         final
      ctx                final
      completionHandler  final
      messageCloner      final

  private org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord writeDownStream0(org.glassfish.grizzly.http.HttpPacket, org.glassfish.grizzly.filterchain.FilterChainContext, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>, org.glassfish.grizzly.asyncqueue.MessageCloner<org.glassfish.grizzly.Buffer>);
    descriptor: (Lorg/glassfish/grizzly/http/HttpPacket;Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=25, args_size=5
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.http.HttpPacket httpPacket
        start local 2 // org.glassfish.grizzly.filterchain.FilterChainContext ctx
        start local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 4 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
         0: .line 248
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.getOutputHttpHeader:()Lorg/glassfish/grizzly/http/HttpHeader;
            astore 5 /* httpHeader */
        start local 5 // org.glassfish.grizzly.http.HttpHeader httpHeader
         1: .line 249
            aload 1 /* httpPacket */
            invokestatic org.glassfish.grizzly.http.HttpContent.isContent:(Lorg/glassfish/grizzly/http/HttpPacket;)Z
            ifeq 2
            aload 1 /* httpPacket */
            checkcast org.glassfish.grizzly.http.HttpContent
            goto 3
      StackMap locals: org.glassfish.grizzly.http.HttpHeader
      StackMap stack:
         2: aconst_null
      StackMap locals:
      StackMap stack: org.glassfish.grizzly.http.HttpContent
         3: astore 6 /* httpContent */
        start local 6 // org.glassfish.grizzly.http.HttpContent httpContent
         4: .line 250
            aconst_null
            astore 7 /* headerFrames */
        start local 7 // java.util.List headerFrames
         5: .line 251
            iconst_0
            istore 8 /* sendTrailers */
        start local 8 // boolean sendTrailers
         6: .line 252
            iconst_0
            istore 9 /* lockedByMe */
        start local 9 // boolean lockedByMe
         7: .line 254
            aload 6 /* httpContent */
            ifnull 8
            aload 6 /* httpContent */
            invokevirtual org.glassfish.grizzly.http.HttpContent.isLast:()Z
            ifeq 8
            iconst_1
            goto 9
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int
      StackMap stack:
         8: iconst_0
      StackMap locals:
      StackMap stack: int
         9: istore 10 /* isLast */
        start local 10 // boolean isLast
        10: .line 255
            aload 6 /* httpContent */
            invokestatic org.glassfish.grizzly.http.HttpTrailer.isTrailer:(Lorg/glassfish/grizzly/http/HttpContent;)Z
            istore 11 /* isTrailer */
        start local 11 // boolean isTrailer
        11: .line 258
            aload 5 /* httpHeader */
            invokevirtual org.glassfish.grizzly.http.HttpHeader.isCommitted:()Z
            ifne 61
        12: .line 259
            aload 5 /* httpHeader */
            invokevirtual org.glassfish.grizzly.http.HttpHeader.isExpectContent:()Z
            ifeq 15
        13: .line 260
            aload 6 /* httpContent */
            ifnull 14
            aload 6 /* httpContent */
            invokevirtual org.glassfish.grizzly.http.HttpContent.isLast:()Z
            ifeq 14
            aload 6 /* httpContent */
            invokevirtual org.glassfish.grizzly.http.HttpContent.getContent:()Lorg/glassfish/grizzly/Buffer;
            invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
            ifeq 15
        14: .line 259
      StackMap locals: int int
      StackMap stack:
            iconst_0
            goto 16
      StackMap locals:
      StackMap stack:
        15: iconst_1
      StackMap locals:
      StackMap stack: int
        16: istore 12 /* dontSendPayload */
        start local 12 // boolean dontSendPayload
        17: .line 261
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            iload 12 /* dontSendPayload */
            invokedynamic get(Z)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  org/glassfish/grizzly/http2/DefaultOutputSink.lambda$0(Z)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/util/function/Supplier;)V
        18: .line 263
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
        19: .line 264
            iconst_1
            istore 9 /* lockedByMe */
        20: .line 265
            invokestatic org.glassfish.grizzly.http2.NetLogger.isActive:()Z
            istore 13 /* logging */
        start local 13 // boolean logging
        21: .line 266
            iload 13 /* logging */
            ifeq 22
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            goto 23
      StackMap locals: int int
      StackMap stack:
        22: aconst_null
      StackMap locals:
      StackMap stack: java.util.HashMap
        23: astore 14 /* capture */
        start local 14 // java.util.Map capture
        24: .line 267
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
        25: .line 268
            aload 2 /* ctx */
            aload 5 /* httpHeader */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.getId:()I
            iload 12 /* dontSendPayload */
            aconst_null
            aload 14 /* capture */
        26: .line 267
            invokevirtual org.glassfish.grizzly.http2.Http2Session.encodeHttpHeaderAsHeaderFrames:(Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/http/HttpHeader;IZLjava/util/List;Ljava/util/Map;)Ljava/util/List;
            astore 7 /* headerFrames */
        27: .line 269
            iload 13 /* logging */
            ifeq 34
        28: .line 270
            aload 7 /* headerFrames */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 16
            goto 33
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int int int int int java.util.Map top java.util.Iterator
      StackMap stack:
        29: aload 16
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.glassfish.grizzly.http2.frames.Http2Frame
            astore 15 /* http2Frame */
        start local 15 // org.glassfish.grizzly.http2.frames.Http2Frame http2Frame
        30: .line 271
            aload 15 /* http2Frame */
            invokevirtual org.glassfish.grizzly.http2.frames.Http2Frame.getType:()I
            iconst_5
            if_icmpne 33
        31: .line 272
            getstatic org.glassfish.grizzly.http2.NetLogger$Context.TX:Lorg/glassfish/grizzly/http2/NetLogger$Context;
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            aload 15 /* http2Frame */
            checkcast org.glassfish.grizzly.http2.frames.HeadersFrame
            aload 14 /* capture */
            invokestatic org.glassfish.grizzly.http2.NetLogger.log:(Lorg/glassfish/grizzly/http2/NetLogger$Context;Lorg/glassfish/grizzly/http2/Http2Session;Lorg/glassfish/grizzly/http2/frames/HeadersFrame;Ljava/util/Map;)V
        32: .line 273
            goto 34
        end local 15 // org.glassfish.grizzly.http2.frames.Http2Frame http2Frame
        33: .line 270
      StackMap locals:
      StackMap stack:
            aload 16
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 29
        34: .line 277
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int int int int int java.util.Map
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            iload 12 /* dontSendPayload */
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.onSndHeaders:(Z)V
        35: .line 280
            aload 5 /* httpHeader */
            invokevirtual org.glassfish.grizzly.http.HttpHeader.isRequest:()Z
            ifne 49
        36: .line 281
            aload 5 /* httpHeader */
            checkcast org.glassfish.grizzly.http.HttpResponsePacket
            astore 15 /* response */
        start local 15 // org.glassfish.grizzly.http.HttpResponsePacket response
        37: .line 282
            aload 15 /* response */
            invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.isAcknowledgement:()Z
            ifeq 49
        38: .line 283
            aload 15 /* response */
            invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.acknowledged:()V
        39: .line 284
            aload 15 /* response */
            invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
            invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.clear:()V
        40: .line 285
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            pop
        41: .line 286
            aload 0 /* this */
            aload 7 /* headerFrames */
            aload 3 /* completionHandler */
            aload 4 /* messageCloner */
            iconst_0
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Ljava/util/List;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
        42: .line 287
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            ldc "Acknowledgement has been sent."
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        43: .line 393
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "sendTrailers="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 8 /* sendTrailers */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        44: .line 394
            iload 8 /* sendTrailers */
            ifeq 46
        45: .line 395
            aload 0 /* this */
            aload 3 /* completionHandler */
            aload 6 /* httpContent */
            checkcast org.glassfish.grizzly.http.HttpTrailer
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
        46: .line 397
      StackMap locals: org.glassfish.grizzly.http.HttpResponsePacket
      StackMap stack:
            iload 9 /* lockedByMe */
            ifeq 48
        47: .line 398
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        48: .line 288
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 15 // org.glassfish.grizzly.http.HttpResponsePacket response
        49: .line 292
      StackMap locals:
      StackMap stack:
            aload 5 /* httpHeader */
            iconst_1
            invokevirtual org.glassfish.grizzly.http.HttpHeader.setCommitted:(Z)V
        50: .line 294
            iload 12 /* dontSendPayload */
            ifne 51
            aload 6 /* httpContent */
            ifnonnull 61
        51: .line 296
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            pop
        52: .line 297
            aload 0 /* this */
            aload 7 /* headerFrames */
            aload 3 /* completionHandler */
            aload 4 /* messageCloner */
            iload 12 /* dontSendPayload */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Ljava/util/List;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
        53: .line 298
            iconst_0
            istore 8 /* sendTrailers */
        54: .line 299
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            iload 12 /* dontSendPayload */
            invokedynamic get(Z)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  org/glassfish/grizzly/http2/DefaultOutputSink.lambda$1(Z)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/util/function/Supplier;)V
        55: .line 393
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "sendTrailers="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 8 /* sendTrailers */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        56: .line 394
            iload 8 /* sendTrailers */
            ifeq 58
        57: .line 395
            aload 0 /* this */
            aload 3 /* completionHandler */
            aload 6 /* httpContent */
            checkcast org.glassfish.grizzly.http.HttpTrailer
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
        58: .line 397
      StackMap locals:
      StackMap stack:
            iload 9 /* lockedByMe */
            ifeq 60
        59: .line 398
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        60: .line 300
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 14 // java.util.Map capture
        end local 13 // boolean logging
        end local 12 // boolean dontSendPayload
        61: .line 304
      StackMap locals:
      StackMap stack:
            aload 6 /* httpContent */
            ifnonnull 70
        62: .line 305
            iconst_0
            istore 8 /* sendTrailers */
        63: .line 306
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            ldc "Nothing to send, httpContent is null."
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        64: .line 393
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "sendTrailers="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 8 /* sendTrailers */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        65: .line 394
            iload 8 /* sendTrailers */
            ifeq 67
        66: .line 395
            aload 0 /* this */
            aload 3 /* completionHandler */
            aload 6 /* httpContent */
            checkcast org.glassfish.grizzly.http.HttpTrailer
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
        67: .line 397
      StackMap locals:
      StackMap stack:
            iload 9 /* lockedByMe */
            ifeq 69
        68: .line 398
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        69: .line 307
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        70: .line 310
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            getfield org.glassfish.grizzly.http2.Http2Session.handlerFilter:Lorg/glassfish/grizzly/http2/Http2BaseFilter;
            aload 6 /* httpContent */
            aload 2 /* ctx */
            invokevirtual org.glassfish.grizzly.http2.Http2BaseFilter.onHttpContentEncoded:(Lorg/glassfish/grizzly/http/HttpContent;Lorg/glassfish/grizzly/filterchain/FilterChainContext;)V
        71: .line 312
            aload 6 /* httpContent */
            invokevirtual org.glassfish.grizzly.http.HttpContent.getContent:()Lorg/glassfish/grizzly/Buffer;
            astore 12 /* data */
        start local 12 // org.glassfish.grizzly.Buffer data
        72: .line 313
            aload 12 /* data */
            invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
            istore 13 /* dataSize */
        start local 13 // int dataSize
        73: .line 315
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            pop
        74: .line 316
            new org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler
            dup
            aload 0 /* this */
            aload 3 /* completionHandler */
            invokespecial org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler.<init>:(Lorg/glassfish/grizzly/http2/DefaultOutputSink;Lorg/glassfish/grizzly/CompletionHandler;)V
            astore 14 /* flushCompletionHandler */
        start local 14 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler flushCompletionHandler
        75: .line 317
            iload 13 /* dataSize */
            ifne 76
            iconst_1
            goto 77
      StackMap locals: org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler
      StackMap stack:
        76: iconst_0
      StackMap locals:
      StackMap stack: int
        77: istore 15 /* isZeroSizeData */
        start local 15 // boolean isZeroSizeData
        78: .line 318
            iload 15 /* isZeroSizeData */
            ifeq 79
            iconst_1
            goto 80
      StackMap locals: int
      StackMap stack:
        79: iload 13 /* dataSize */
      StackMap locals:
      StackMap stack: int
        80: istore 16 /* spaceToReserve */
        start local 16 // int spaceToReserve
        81: .line 319
            iconst_0
            istore 17 /* isDataCloned */
        start local 17 // boolean isDataCloned
        82: .line 322
            aload 0 /* this */
            iload 16 /* spaceToReserve */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.reserveWriteQueueSpace:(I)I
            istore 18 /* spaceReserved */
        start local 18 // int spaceReserved
        83: .line 323
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            iload 18 /* spaceReserved */
            iload 16 /* spaceToReserve */
            invokedynamic get(II)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  org/glassfish/grizzly/http2/DefaultOutputSink.lambda$2(II)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/util/function/Supplier;)V
        84: .line 324
            iload 18 /* spaceReserved */
            iload 16 /* spaceToReserve */
            if_icmple 112
        85: .line 326
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.$assertionsDisabled:Z
            ifne 86
            aload 7 /* headerFrames */
            ifnull 86
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        86: .line 327
      StackMap locals: int int int
      StackMap stack:
            aload 4 /* messageCloner */
            ifnull 89
        87: .line 328
            aload 4 /* messageCloner */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getConnection:()Lorg/glassfish/grizzly/Connection;
            aload 12 /* data */
            invokeinterface org.glassfish.grizzly.asyncqueue.MessageCloner.clone:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.glassfish.grizzly.Buffer
            astore 12 /* data */
        88: .line 329
            iconst_1
            istore 17 /* isDataCloned */
        89: .line 332
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 12 /* data */
            aload 6 /* httpContent */
            aload 14 /* flushCompletionHandler */
        90: .line 333
            iload 10 /* isLast */
            iload 15 /* isZeroSizeData */
        91: .line 332
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.createOutputQueueRecord:(Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/HttpContent;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;ZZ)Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
            astore 19 /* record */
        start local 19 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord record
        92: .line 334
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            aload 19 /* record */
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.offer:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)V
        93: .line 337
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.size:()I
            iload 16 /* spaceToReserve */
            if_icmpeq 103
        94: .line 338
            iload 10 /* isLast */
            ifeq 95
            iload 11 /* isTrailer */
            ifeq 95
            iconst_1
            goto 96
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
      StackMap stack:
        95: iconst_0
      StackMap locals:
      StackMap stack: int
        96: istore 8 /* sendTrailers */
        97: .line 393
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "sendTrailers="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 8 /* sendTrailers */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        98: .line 394
            iload 8 /* sendTrailers */
            ifeq 100
        99: .line 395
            aload 0 /* this */
            aload 3 /* completionHandler */
            aload 6 /* httpContent */
            checkcast org.glassfish.grizzly.http.HttpTrailer
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
       100: .line 397
      StackMap locals:
      StackMap stack:
            iload 9 /* lockedByMe */
            ifeq 102
       101: .line 398
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
       102: .line 339
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
       103: .line 342
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            aload 19 /* record */
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.remove:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)Z
            ifne 112
       104: .line 343
            iconst_0
            istore 8 /* sendTrailers */
       105: .line 344
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            ldc "The record has been already processed."
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
       106: .line 393
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "sendTrailers="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 8 /* sendTrailers */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
       107: .line 394
            iload 8 /* sendTrailers */
            ifeq 109
       108: .line 395
            aload 0 /* this */
            aload 3 /* completionHandler */
            aload 6 /* httpContent */
            checkcast org.glassfish.grizzly.http.HttpTrailer
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
       109: .line 397
      StackMap locals:
      StackMap stack:
            iload 9 /* lockedByMe */
            ifeq 111
       110: .line 398
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
       111: .line 345
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 19 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord record
       112: .line 350
      StackMap locals:
      StackMap stack:
            aload 12 /* data */
            invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
            istore 19 /* remaining */
        start local 19 // int remaining
       113: .line 354
            aload 0 /* this */
            iload 19 /* remaining */
            i2l
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.checkOutputWindow:(J)I
            istore 20 /* fitWindowLen */
        start local 20 // int fitWindowLen
       114: .line 355
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            iload 19 /* remaining */
            iload 20 /* fitWindowLen */
            invokedynamic get(II)Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  org/glassfish/grizzly/http2/DefaultOutputSink.lambda$3(II)Ljava/lang/String; (6)
                  ()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/util/function/Supplier;)V
       115: .line 358
            iload 20 /* fitWindowLen */
            iload 19 /* remaining */
            if_icmplt 118
       116: .line 359
            aconst_null
            astore 21 /* outputQueueRecord */
        start local 21 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord outputQueueRecord
       117: .line 360
            goto 126
        end local 21 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord outputQueueRecord
       118: .line 362
      StackMap locals: int int
      StackMap stack:
            iload 17 /* isDataCloned */
            ifne 121
            aload 4 /* messageCloner */
            ifnull 121
       119: .line 363
            aload 4 /* messageCloner */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getConnection:()Lorg/glassfish/grizzly/Connection;
            aload 12 /* data */
            invokeinterface org.glassfish.grizzly.asyncqueue.MessageCloner.clone:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.glassfish.grizzly.Buffer
            astore 12 /* data */
       120: .line 364
            iconst_1
            istore 17 /* isDataCloned */
       121: .line 367
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 12 /* data */
            iload 20 /* fitWindowLen */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.splitOutputBufferIfNeeded:(Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
            astore 22 /* dataChunkToStore */
        start local 22 // org.glassfish.grizzly.Buffer dataChunkToStore
       122: .line 370
            aload 0 /* this */
            aload 22 /* dataChunkToStore */
            aconst_null
            aload 14 /* flushCompletionHandler */
            iload 10 /* isLast */
       123: .line 371
            iload 15 /* isZeroSizeData */
       124: .line 370
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.createOutputQueueRecord:(Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/HttpContent;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;ZZ)Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
            astore 21 /* outputQueueRecord */
        start local 21 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord outputQueueRecord
       125: .line 374
            iconst_0
            istore 10 /* isLast */
        end local 22 // org.glassfish.grizzly.Buffer dataChunkToStore
       126: .line 378
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
      StackMap stack:
            aload 0 /* this */
            aload 21 /* outputQueueRecord */
            ifnonnull 127
            iconst_1
            goto 128
      StackMap locals:
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink
       127: iconst_0
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int int int org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int int int int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink int
       128: iload 10 /* isLast */
            aload 12 /* data */
            iload 15 /* isZeroSizeData */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.prepareDataToSend:(ZZLorg/glassfish/grizzly/Buffer;Z)Lorg/glassfish/grizzly/Buffer;
            astore 22 /* dataToSend */
        start local 22 // org.glassfish.grizzly.Buffer dataToSend
       129: .line 379
            aload 7 /* headerFrames */
            ifnonnull 130
            aload 22 /* dataToSend */
            ifnull 138
       130: .line 382
      StackMap locals: org.glassfish.grizzly.Buffer
      StackMap stack:
            aload 21 /* outputQueueRecord */
            ifnull 132
       131: .line 383
            aload 21 /* outputQueueRecord */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.incChunksCounter:()V
       132: .line 385
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 7 /* headerFrames */
            aload 22 /* dataToSend */
            aload 14 /* flushCompletionHandler */
       133: .line 386
            iload 17 /* isDataCloned */
            ifeq 134
            aconst_null
            goto 135
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int int int org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int int int int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.Buffer
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink java.util.List org.glassfish.grizzly.Buffer org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler
       134: aload 4 /* messageCloner */
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int int int org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int int int int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.Buffer
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink java.util.List org.glassfish.grizzly.Buffer org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner
       135: iload 10 /* isLast */
            ifeq 136
            iload 11 /* isTrailer */
            ifne 136
            iconst_1
            goto 137
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int int int org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int int int int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.Buffer
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink java.util.List org.glassfish.grizzly.Buffer org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner
       136: iconst_0
       137: .line 385
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int int int org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int int int int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.Buffer
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink java.util.List org.glassfish.grizzly.Buffer org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner int
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Ljava/util/List;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
       138: .line 389
      StackMap locals:
      StackMap stack:
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "isLast="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 10 /* isLast */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            ldc "; isTrailer="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 11 /* isTrailer */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
       139: .line 390
            iload 10 /* isLast */
            ifeq 140
            iload 11 /* isTrailer */
            ifeq 140
            iconst_1
            goto 141
      StackMap locals:
      StackMap stack:
       140: iconst_0
      StackMap locals:
      StackMap stack: int
       141: istore 8 /* sendTrailers */
       142: .line 391
            iload 10 /* isLast */
            ifeq 143
            aconst_null
            goto 144
      StackMap locals:
      StackMap stack:
       143: aload 21 /* outputQueueRecord */
      StackMap locals:
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
       144: astore 24
       145: .line 393
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "sendTrailers="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 8 /* sendTrailers */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
       146: .line 394
            iload 8 /* sendTrailers */
            ifeq 148
       147: .line 395
            aload 0 /* this */
            aload 3 /* completionHandler */
            aload 6 /* httpContent */
            checkcast org.glassfish.grizzly.http.HttpTrailer
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
       148: .line 397
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int int int org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler int int int int int int org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.Buffer top org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
      StackMap stack:
            iload 9 /* lockedByMe */
            ifeq 150
       149: .line 398
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
       150: .line 391
      StackMap locals:
      StackMap stack:
            aload 24
            areturn
        end local 22 // org.glassfish.grizzly.Buffer dataToSend
        end local 21 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord outputQueueRecord
        end local 20 // int fitWindowLen
        end local 19 // int remaining
        end local 18 // int spaceReserved
        end local 17 // boolean isDataCloned
        end local 16 // int spaceToReserve
        end local 15 // boolean isZeroSizeData
        end local 14 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler flushCompletionHandler
        end local 13 // int dataSize
        end local 12 // org.glassfish.grizzly.Buffer data
        end local 11 // boolean isTrailer
        end local 10 // boolean isLast
       151: .line 392
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int
      StackMap stack: java.lang.Throwable
            astore 23
       152: .line 393
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "sendTrailers="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 8 /* sendTrailers */
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
       153: .line 394
            iload 8 /* sendTrailers */
            ifeq 155
       154: .line 395
            aload 0 /* this */
            aload 3 /* completionHandler */
            aload 6 /* httpContent */
            checkcast org.glassfish.grizzly.http.HttpTrailer
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
       155: .line 397
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http.HttpPacket org.glassfish.grizzly.filterchain.FilterChainContext org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.asyncqueue.MessageCloner org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.HttpContent java.util.List int int top top top top top top top top top top top top top java.lang.Throwable
      StackMap stack:
            iload 9 /* lockedByMe */
            ifeq 157
       156: .line 398
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
       157: .line 400
      StackMap locals:
      StackMap stack:
            aload 23
            athrow
        end local 9 // boolean lockedByMe
        end local 8 // boolean sendTrailers
        end local 7 // java.util.List headerFrames
        end local 6 // org.glassfish.grizzly.http.HttpContent httpContent
        end local 5 // org.glassfish.grizzly.http.HttpHeader httpHeader
        end local 4 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
        end local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 2 // org.glassfish.grizzly.filterchain.FilterChainContext ctx
        end local 1 // org.glassfish.grizzly.http.HttpPacket httpPacket
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0  158     0                    this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0  158     1              httpPacket  Lorg/glassfish/grizzly/http/HttpPacket;
            0  158     2                     ctx  Lorg/glassfish/grizzly/filterchain/FilterChainContext;
            0  158     3       completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
            0  158     4           messageCloner  Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/Buffer;>;
            1  158     5              httpHeader  Lorg/glassfish/grizzly/http/HttpHeader;
            4  158     6             httpContent  Lorg/glassfish/grizzly/http/HttpContent;
            5  158     7            headerFrames  Ljava/util/List<Lorg/glassfish/grizzly/http2/frames/Http2Frame;>;
            6  158     8            sendTrailers  Z
            7  158     9              lockedByMe  Z
           10  151    10                  isLast  Z
           11  151    11               isTrailer  Z
           17   61    12         dontSendPayload  Z
           21   61    13                 logging  Z
           24   61    14                 capture  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
           30   33    15              http2Frame  Lorg/glassfish/grizzly/http2/frames/Http2Frame;
           37   49    15                response  Lorg/glassfish/grizzly/http/HttpResponsePacket;
           72  151    12                    data  Lorg/glassfish/grizzly/Buffer;
           73  151    13                dataSize  I
           75  151    14  flushCompletionHandler  Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;
           78  151    15          isZeroSizeData  Z
           81  151    16          spaceToReserve  I
           82  151    17            isDataCloned  Z
           83  151    18           spaceReserved  I
           92  112    19                  record  Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
          113  151    19               remaining  I
          114  151    20            fitWindowLen  I
          117  118    21       outputQueueRecord  Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
          125  151    21       outputQueueRecord  Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
          122  126    22        dataChunkToStore  Lorg/glassfish/grizzly/Buffer;
          129  151    22              dataToSend  Lorg/glassfish/grizzly/Buffer;
      Exception table:
        from    to  target  type
           7    43     151  any
          49    55     151  any
          61    64     151  any
          70    97     151  any
         103   106     151  any
         112   145     151  any
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/glassfish/grizzly/http/HttpPacket;Lorg/glassfish/grizzly/filterchain/FilterChainContext;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/Buffer;>;)Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
    MethodParameters:
                   Name  Flags
      httpPacket         final
      ctx                final
      completionHandler  final
      messageCloner      final

  private org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord createOutputQueueRecord(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.http.HttpContent, org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler, boolean, boolean);
    descriptor: (Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/HttpContent;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;ZZ)Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=7, args_size=6
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.Buffer data
        start local 2 // org.glassfish.grizzly.http.HttpContent httpContent
        start local 3 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler flushCompletionHandler
        start local 4 // boolean isLast
        start local 5 // boolean isZeroSizeData
         0: .line 406
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokestatic org.glassfish.grizzly.http2.Source.factory:(Lorg/glassfish/grizzly/http2/Http2Stream;)Lorg/glassfish/grizzly/http2/Source$SourceFactory;
            aload 1 /* data */
            invokevirtual org.glassfish.grizzly.http2.Source$SourceFactory.createBufferSource:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/http2/Source;
            astore 6 /* bufferSource */
        start local 6 // org.glassfish.grizzly.http2.Source bufferSource
         1: .line 407
            aload 2 /* httpContent */
            instanceof org.glassfish.grizzly.http.HttpTrailer
            ifeq 3
         2: .line 408
            new org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
            dup
            aload 6 /* bufferSource */
            aload 3 /* flushCompletionHandler */
            aload 2 /* httpContent */
            checkcast org.glassfish.grizzly.http.HttpTrailer
            iconst_0
            invokespecial org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.<init>:(Lorg/glassfish/grizzly/http2/Source;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;Z)V
            areturn
         3: .line 410
      StackMap locals: org.glassfish.grizzly.http2.Source
      StackMap stack:
            new org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
            dup
            aload 6 /* bufferSource */
            aload 3 /* flushCompletionHandler */
            iload 4 /* isLast */
            iload 5 /* isZeroSizeData */
            invokespecial org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.<init>:(Lorg/glassfish/grizzly/http2/Source;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;ZZ)V
            areturn
        end local 6 // org.glassfish.grizzly.http2.Source bufferSource
        end local 5 // boolean isZeroSizeData
        end local 4 // boolean isLast
        end local 3 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler flushCompletionHandler
        end local 2 // org.glassfish.grizzly.http.HttpContent httpContent
        end local 1 // org.glassfish.grizzly.Buffer data
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0    4     0                    this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    4     1                    data  Lorg/glassfish/grizzly/Buffer;
            0    4     2             httpContent  Lorg/glassfish/grizzly/http/HttpContent;
            0    4     3  flushCompletionHandler  Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;
            0    4     4                  isLast  Z
            0    4     5          isZeroSizeData  Z
            1    4     6            bufferSource  Lorg/glassfish/grizzly/http2/Source;
    MethodParameters:
                        Name  Flags
      data                    final
      httpContent             final
      flushCompletionHandler  final
      isLast                  
      isZeroSizeData          final

  private org.glassfish.grizzly.Buffer prepareDataToSend(boolean, boolean, org.glassfish.grizzly.Buffer, boolean);
    descriptor: (ZZLorg/glassfish/grizzly/Buffer;Z)Lorg/glassfish/grizzly/Buffer;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=5
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // boolean isRecordNull
        start local 2 // boolean isLast
        start local 3 // org.glassfish.grizzly.Buffer data
        start local 4 // boolean isZeroSizeData
         0: .line 416
            aload 3 /* data */
            ifnonnull 2
         1: .line 417
            aconst_null
            areturn
         2: .line 419
      StackMap locals:
      StackMap stack:
            aload 3 /* data */
            invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
            ifne 3
            iload 2 /* isLast */
            ifeq 7
         3: .line 420
      StackMap locals:
      StackMap stack:
            aload 3 /* data */
            invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
            istore 5 /* dataChunkToSendSize */
        start local 5 // int dataChunkToSendSize
         4: .line 422
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.availStreamWindowSize:Ljava/util/concurrent/atomic/AtomicInteger;
            iload 5 /* dataChunkToSendSize */
            ineg
            invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
            pop
         5: .line 423
            aload 0 /* this */
            iload 5 /* dataChunkToSendSize */
            iload 4 /* isZeroSizeData */
            iload 1 /* isRecordNull */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.releaseWriteQueueSpace:(IZZ)V
         6: .line 424
            aload 3 /* data */
            areturn
        end local 5 // int dataChunkToSendSize
         7: .line 426
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 4 // boolean isZeroSizeData
        end local 3 // org.glassfish.grizzly.Buffer data
        end local 2 // boolean isLast
        end local 1 // boolean isRecordNull
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    8     0                 this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    8     1         isRecordNull  Z
            0    8     2               isLast  Z
            0    8     3                 data  Lorg/glassfish/grizzly/Buffer;
            0    8     4       isZeroSizeData  Z
            4    7     5  dataChunkToSendSize  I
    MethodParameters:
                Name  Flags
      isRecordNull    final
      isLast          final
      data            final
      isZeroSizeData  final

  public void flush(org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.http2.Http2Stream>);
    descriptor: (Lorg/glassfish/grizzly/CompletionHandler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
         0: .line 440
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            ifle 13
         1: .line 442
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.flushHandlersSync:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         2: .line 444
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            istore 3 /* counterNow */
        start local 3 // int counterNow
         3: .line 445
            iload 3 /* counterNow */
            ifle 9
         4: .line 447
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.flushHandlersQueue:Lorg/glassfish/grizzly/http2/BundleQueue;
            ifnonnull 6
         5: .line 449
            aload 0 /* this */
            new org.glassfish.grizzly.http2.BundleQueue
            dup
            invokespecial org.glassfish.grizzly.http2.BundleQueue.<init>:()V
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.flushHandlersQueue:Lorg/glassfish/grizzly/http2/BundleQueue;
         6: .line 453
      StackMap locals: java.lang.Object int
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.flushHandlersQueue:Lorg/glassfish/grizzly/http2/BundleQueue;
            iload 3 /* counterNow */
            aload 1 /* completionHandler */
            invokevirtual org.glassfish.grizzly.http2.BundleQueue.add:(ILjava/lang/Object;)V
         7: .line 455
            aload 2
            monitorexit
         8: return
        end local 3 // int counterNow
         9: .line 442
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        10: goto 13
      StackMap locals:
      StackMap stack: java.lang.Throwable
        11: aload 2
            monitorexit
        12: athrow
        13: .line 461
      StackMap locals:
      StackMap stack:
            aload 1 /* completionHandler */
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
        14: .line 462
            return
        end local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   15     0               this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0   15     1  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/http2/Http2Stream;>;
            3    9     3         counterNow  I
      Exception table:
        from    to  target  type
           2     8      11  any
           9    10      11  any
          11    12      11  any
    Signature: (Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/http2/Http2Stream;>;)V
    MethodParameters:
                   Name  Flags
      completionHandler  final

  private int checkOutputWindow(long);
    descriptor: (J)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // long size
         0: .line 477
            iconst_0
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.availStreamWindowSize:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            lload 1 /* size */
            l2i
            invokestatic java.lang.Math.min:(II)I
            invokestatic java.lang.Math.max:(II)I
            ireturn
        end local 1 // long size
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    1     1  size  J
    MethodParameters:
      Name  Flags
      size  final

  private org.glassfish.grizzly.Buffer splitOutputBufferIfNeeded(org.glassfish.grizzly.Buffer, int);
    descriptor: (Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.Buffer buffer
        start local 2 // int length
         0: .line 481
            iload 2 /* length */
            aload 1 /* buffer */
            invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
            if_icmpne 2
         1: .line 482
            aconst_null
            areturn
         2: .line 485
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            aload 1 /* buffer */
            invokeinterface org.glassfish.grizzly.Buffer.position:()I
            iload 2 /* length */
            iadd
            invokeinterface org.glassfish.grizzly.Buffer.split:(I)Lorg/glassfish/grizzly/Buffer;
            areturn
        end local 2 // int length
        end local 1 // org.glassfish.grizzly.Buffer buffer
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    3     1  buffer  Lorg/glassfish/grizzly/Buffer;
            0    3     2  length  I
    MethodParameters:
        Name  Flags
      buffer  final
      length  final

  private void flushToConnectionOutputSink(java.util.List<org.glassfish.grizzly.http2.frames.Http2Frame>, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>, org.glassfish.grizzly.asyncqueue.MessageCloner<org.glassfish.grizzly.Buffer>, );
    descriptor: (Ljava/util/List;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=6, args_size=5
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // java.util.List headerFrames
        start local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 3 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
        start local 4 // boolean sendFIN
         0: .line 492
            new org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler
            dup
            aload 0 /* this */
            aload 2 /* completionHandler */
            invokespecial org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler.<init>:(Lorg/glassfish/grizzly/http2/DefaultOutputSink;Lorg/glassfish/grizzly/CompletionHandler;)V
            astore 5 /* flushCompletionHandler */
        start local 5 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler flushCompletionHandler
         1: .line 493
            aload 0 /* this */
            aload 1 /* headerFrames */
            aconst_null
            aload 5 /* flushCompletionHandler */
            aload 3 /* messageCloner */
            iload 4 /* sendFIN */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Ljava/util/List;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
         2: .line 494
            return
        end local 5 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler flushCompletionHandler
        end local 4 // boolean sendFIN
        end local 3 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
        end local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 1 // java.util.List headerFrames
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0    3     0                    this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    3     1            headerFrames  Ljava/util/List<Lorg/glassfish/grizzly/http2/frames/Http2Frame;>;
            0    3     2       completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
            0    3     3           messageCloner  Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/Buffer;>;
            0    3     4                 sendFIN  Z
            1    3     5  flushCompletionHandler  Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;
    Signature: (Ljava/util/List<Lorg/glassfish/grizzly/http2/frames/Http2Frame;>;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/Buffer;>;Z)V
    MethodParameters:
                   Name  Flags
      headerFrames       final
      completionHandler  final
      messageCloner      final
      sendFIN            final

  private void flushToConnectionOutputSink(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler, boolean);
    descriptor: (Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=4
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.Buffer data
        start local 2 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler flushCompletionHandler
        start local 3 // boolean sendFIN
         0: .line 500
            aload 0 /* this */
            aconst_null
            aload 1 /* data */
            aload 2 /* flushCompletionHandler */
            aconst_null
            iload 3 /* sendFIN */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Ljava/util/List;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
         1: .line 501
            return
        end local 3 // boolean sendFIN
        end local 2 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler flushCompletionHandler
        end local 1 // org.glassfish.grizzly.Buffer data
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0    2     0                    this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    2     1                    data  Lorg/glassfish/grizzly/Buffer;
            0    2     2  flushCompletionHandler  Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;
            0    2     3                 sendFIN  Z
    MethodParameters:
                        Name  Flags
      data                    final
      flushCompletionHandler  final
      sendFIN                 final

  private void flushToConnectionOutputSink(java.util.List<org.glassfish.grizzly.http2.frames.Http2Frame>, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>, org.glassfish.grizzly.asyncqueue.MessageCloner<org.glassfish.grizzly.Buffer>, );
    descriptor: (Ljava/util/List;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=6, args_size=6
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // java.util.List headerFrames
        start local 2 // org.glassfish.grizzly.Buffer data
        start local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 4 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
        start local 5 // boolean sendFIN
         0: .line 510
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getOutputSink:()Lorg/glassfish/grizzly/http2/Http2SessionOutputSink;
         1: .line 511
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            aload 1 /* headerFrames */
            aload 2 /* data */
            aload 3 /* completionHandler */
            aload 4 /* messageCloner */
            iload 5 /* sendFIN */
         2: .line 510
            invokevirtual org.glassfish.grizzly.http2.Http2SessionOutputSink.writeDataDownStream:(Lorg/glassfish/grizzly/http2/Http2Stream;Ljava/util/List;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
         3: .line 513
            iload 5 /* sendFIN */
            ifeq 5
         4: .line 514
            aload 0 /* this */
            getstatic org.glassfish.grizzly.http2.Termination.OUT_FIN_TERMINATION:Lorg/glassfish/grizzly/http2/Termination;
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.terminate:(Lorg/glassfish/grizzly/http2/Termination;)V
         5: .line 516
      StackMap locals:
      StackMap stack:
            return
        end local 5 // boolean sendFIN
        end local 4 // org.glassfish.grizzly.asyncqueue.MessageCloner messageCloner
        end local 3 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 2 // org.glassfish.grizzly.Buffer data
        end local 1 // java.util.List headerFrames
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    6     0               this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    6     1       headerFrames  Ljava/util/List<Lorg/glassfish/grizzly/http2/frames/Http2Frame;>;
            0    6     2               data  Lorg/glassfish/grizzly/Buffer;
            0    6     3  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
            0    6     4      messageCloner  Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/Buffer;>;
            0    6     5            sendFIN  Z
    Signature: (Ljava/util/List<Lorg/glassfish/grizzly/http2/frames/Http2Frame;>;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/Buffer;>;Z)V
    MethodParameters:
                   Name  Flags
      headerFrames       final
      data               final
      completionHandler  final
      messageCloner      final
      sendFIN            final

  public synchronized void close();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
         0: .line 524
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.isClosed:()Z
            ifne 9
         1: .line 525
            aload 0 /* this */
            iconst_1
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.isLastFrameQueued:Z
         2: .line 527
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.isEmpty:()Z
            ifeq 5
         3: .line 528
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.writeEmptyFin:()V
         4: .line 529
            return
         5: .line 532
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            iconst_1
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.reserveSpace:(I)I
            pop
         6: .line 533
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.TERMINATING_QUEUE_RECORD:Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.offer:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)V
         7: .line 535
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.size:()I
            iconst_1
            if_icmpne 9
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.TERMINATING_QUEUE_RECORD:Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.remove:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)Z
            ifeq 9
         8: .line 536
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.writeEmptyFin:()V
         9: .line 539
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;

  public synchronized void terminate(org.glassfish.grizzly.http2.Termination);
    descriptor: (Lorg/glassfish/grizzly/http2/Termination;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.http2.Termination terminationFlag
         0: .line 547
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.isTerminated:()Z
            ifne 4
         1: .line 548
            aload 0 /* this */
            aload 1 /* terminationFlag */
            putfield org.glassfish.grizzly.http2.DefaultOutputSink.terminationFlag:Lorg/glassfish/grizzly/http2/Termination;
         2: .line 549
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.onClose:()V
         3: .line 551
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.onOutputClosed:()V
         4: .line 553
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.glassfish.grizzly.http2.Termination terminationFlag
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    5     0             this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    5     1  terminationFlag  Lorg/glassfish/grizzly/http2/Termination;
    MethodParameters:
                 Name  Flags
      terminationFlag  final

  public boolean isClosed();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
         0: .line 557
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.isLastFrameQueued:Z
            ifne 1
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.isTerminated:()Z
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;

  public int getUnflushedWritesCount();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
         0: .line 565
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            ireturn
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;

  private boolean isTerminated();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
         0: .line 569
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.terminationFlag:Lorg/glassfish/grizzly/http2/Termination;
            ifnull 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;

  private void writeEmptyFin();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
         0: .line 573
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.isTerminated:()Z
            ifne 3
         1: .line 574
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            pop
         2: .line 575
            aload 0 /* this */
            getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
            new org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler
            dup
            aload 0 /* this */
            aconst_null
            invokespecial org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler.<init>:(Lorg/glassfish/grizzly/http2/DefaultOutputSink;Lorg/glassfish/grizzly/CompletionHandler;)V
            iconst_1
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;Z)V
         3: .line 577
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;

  private boolean isWantToWrite();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
         0: .line 581
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.availStreamWindowSize:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            istore 1 /* availableWindowSizeBytesNow */
        start local 1 // int availableWindowSizeBytesNow
         1: .line 584
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.getPeerWindowSize:()I
            istore 2 /* windowSizeLimit */
        start local 2 // int windowSizeLimit
         2: .line 586
            iload 1 /* availableWindowSizeBytesNow */
            iload 2 /* windowSizeLimit */
            iconst_4
            idiv
            if_icmplt 3
            iconst_1
            ireturn
      StackMap locals: int int
      StackMap stack:
         3: iconst_0
            ireturn
        end local 2 // int windowSizeLimit
        end local 1 // int availableWindowSizeBytesNow
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot                         Name  Signature
            0    4     0                         this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            1    4     1  availableWindowSizeBytesNow  I
            2    4     2              windowSizeLimit  I

  private void addOutputQueueRecord(org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord);
    descriptor: (Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=10, args_size=2
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord outputQueueRecord
         0: .line 591
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            aload 1 /* outputQueueRecord */
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.setCurrentElement:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)V
         1: .line 594
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.isWantToWrite:()Z
            ifeq 37
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            aload 1 /* outputQueueRecord */
            aconst_null
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.compareAndSetCurrentElement:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)Z
            ifne 3
         2: .line 595
            goto 37
         3: .line 599
      StackMap locals:
      StackMap stack:
            aload 1 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.chunkedCompletionHandler:Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;
            astore 2 /* chunkedCompletionHandler */
        start local 2 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler chunkedCompletionHandler
         4: .line 600
            aload 1 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.trailer:Lorg/glassfish/grizzly/http/HttpTrailer;
            astore 3 /* currentTrailer */
        start local 3 // org.glassfish.grizzly.http.HttpTrailer currentTrailer
         5: .line 601
            aload 3 /* currentTrailer */
            ifnull 8
         6: .line 602
            aload 0 /* this */
            aload 2 /* chunkedCompletionHandler */
            aload 3 /* currentTrailer */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.sendTrailers:(Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
         7: .line 603
            return
         8: .line 606
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler org.glassfish.grizzly.http.HttpTrailer
      StackMap stack:
            aload 1 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.isLast:Z
            istore 4 /* isLast */
        start local 4 // boolean isLast
         9: .line 607
            aload 1 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.isZeroSizeData:Z
            istore 5 /* isZeroSizeData */
        start local 5 // boolean isZeroSizeData
        10: .line 608
            aload 1 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.resource:Lorg/glassfish/grizzly/http2/Source;
            astore 6 /* currentResource */
        start local 6 // org.glassfish.grizzly.http2.Source currentResource
        11: .line 610
            aload 0 /* this */
            aload 6 /* currentResource */
            invokevirtual org.glassfish.grizzly.http2.Source.remaining:()I
            i2l
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.checkOutputWindow:(J)I
            istore 7 /* fitWindowLen */
        start local 7 // int fitWindowLen
        12: .line 611
            aload 6 /* currentResource */
            iload 7 /* fitWindowLen */
            invokevirtual org.glassfish.grizzly.http2.Source.read:(I)Lorg/glassfish/grizzly/Buffer;
            astore 8 /* dataChunkToSend */
        start local 8 // org.glassfish.grizzly.Buffer dataChunkToSend
        13: .line 614
            aload 6 /* currentResource */
            invokevirtual org.glassfish.grizzly.http2.Source.hasRemaining:()Z
            ifeq 18
        14: .line 616
            aload 1 /* outputQueueRecord */
            aload 6 /* currentResource */
            aload 2 /* chunkedCompletionHandler */
            iload 4 /* isLast */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.reset:(Lorg/glassfish/grizzly/http2/Source;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;Z)V
        15: .line 617
            aload 1 /* outputQueueRecord */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.incChunksCounter:()V
        16: .line 620
            iconst_0
            istore 4 /* isLast */
        17: .line 621
            goto 20
        18: .line 622
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler org.glassfish.grizzly.http.HttpTrailer int int org.glassfish.grizzly.http2.Source int org.glassfish.grizzly.Buffer
      StackMap stack:
            aload 1 /* outputQueueRecord */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.release:()V
        19: .line 623
            aconst_null
            astore 1 /* outputQueueRecord */
        20: .line 627
      StackMap locals:
      StackMap stack:
            aload 8 /* dataChunkToSend */
            ifnull 28
            aload 8 /* dataChunkToSend */
            invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
            ifne 21
            iload 4 /* isLast */
            ifeq 28
        21: .line 628
      StackMap locals:
      StackMap stack:
            aload 8 /* dataChunkToSend */
            invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
            istore 9 /* dataChunkToSendSize */
        start local 9 // int dataChunkToSendSize
        22: .line 629
            aload 0 /* this */
            aload 8 /* dataChunkToSend */
            aload 2 /* chunkedCompletionHandler */
            iload 4 /* isLast */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;Z)V
        23: .line 632
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.availStreamWindowSize:Ljava/util/concurrent/atomic/AtomicInteger;
            iload 9 /* dataChunkToSendSize */
            ineg
            invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
            pop
        24: .line 633
            aload 0 /* this */
            iload 9 /* dataChunkToSendSize */
            iload 5 /* isZeroSizeData */
            aload 1 /* outputQueueRecord */
            ifnonnull 25
            iconst_1
            goto 26
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler org.glassfish.grizzly.http.HttpTrailer int int org.glassfish.grizzly.http2.Source int org.glassfish.grizzly.Buffer int
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink int int
        25: iconst_0
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler org.glassfish.grizzly.http.HttpTrailer int int org.glassfish.grizzly.http2.Source int org.glassfish.grizzly.Buffer int
      StackMap stack: org.glassfish.grizzly.http2.DefaultOutputSink int int int
        26: invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.releaseWriteQueueSpace:(IZZ)V
        end local 9 // int dataChunkToSendSize
        27: .line 634
            goto 36
      StackMap locals:
      StackMap stack:
        28: iload 5 /* isZeroSizeData */
            ifeq 31
            aload 1 /* outputQueueRecord */
            ifnonnull 31
        29: .line 636
            aload 0 /* this */
            iconst_0
            iconst_1
            iconst_1
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.releaseWriteQueueSpace:(IZZ)V
        30: .line 637
            goto 36
      StackMap locals:
      StackMap stack:
        31: aload 8 /* dataChunkToSend */
            ifnull 36
            aload 8 /* dataChunkToSend */
            invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
            ifne 36
        32: .line 640
            aload 1 /* outputQueueRecord */
            ifnull 37
        33: .line 641
            aload 0 /* this */
            aload 1 /* outputQueueRecord */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord.resource:Lorg/glassfish/grizzly/http2/Source;
            invokevirtual org.glassfish.grizzly.http2.Source.remaining:()I
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.reserveWriteQueueSpace:(I)I
            pop
        34: .line 642
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            aload 1 /* outputQueueRecord */
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.offer:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)V
        35: .line 644
            goto 37
        end local 8 // org.glassfish.grizzly.Buffer dataChunkToSend
        end local 7 // int fitWindowLen
        end local 6 // org.glassfish.grizzly.http2.Source currentResource
        end local 5 // boolean isZeroSizeData
        end local 4 // boolean isLast
        end local 3 // org.glassfish.grizzly.http.HttpTrailer currentTrailer
        end local 2 // org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler chunkedCompletionHandler
        36: .line 646
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
      StackMap stack:
            aload 1 /* outputQueueRecord */
            ifnonnull 0
        37: .line 647
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord outputQueueRecord
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0   38     0                      this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0   38     1         outputQueueRecord  Lorg/glassfish/grizzly/http2/DefaultOutputSink$OutputQueueRecord;
            4   36     2  chunkedCompletionHandler  Lorg/glassfish/grizzly/http2/DefaultOutputSink$FlushCompletionHandler;
            5   36     3            currentTrailer  Lorg/glassfish/grizzly/http/HttpTrailer;
            9   36     4                    isLast  Z
           10   36     5            isZeroSizeData  Z
           11   36     6           currentResource  Lorg/glassfish/grizzly/http2/Source;
           12   36     7              fitWindowLen  I
           13   36     8           dataChunkToSend  Lorg/glassfish/grizzly/Buffer;
           22   27     9       dataChunkToSendSize  I
    Exceptions:
      throws org.glassfish.grizzly.http2.Http2StreamException
    MethodParameters:
                   Name  Flags
      outputQueueRecord  

  private int reserveWriteQueueSpace(int);
    descriptor: (I)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // int spaceToReserve
         0: .line 650
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            iload 1 /* spaceToReserve */
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.reserveSpace:(I)I
            ireturn
        end local 1 // int spaceToReserve
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0            this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    1     1  spaceToReserve  I
    MethodParameters:
                Name  Flags
      spaceToReserve  final

  private void releaseWriteQueueSpace(int, boolean, boolean);
    descriptor: (IZZ)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // int justSentBytes
        start local 2 // boolean isAtomic
        start local 3 // boolean isEndOfChunk
         0: .line 654
            iload 3 /* isEndOfChunk */
            ifeq 5
         1: .line 655
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            iload 2 /* isAtomic */
            ifeq 2
            iconst_1
            goto 3
      StackMap locals:
      StackMap stack: org.glassfish.grizzly.asyncqueue.TaskQueue
         2: iload 1 /* justSentBytes */
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink int int int
      StackMap stack: org.glassfish.grizzly.asyncqueue.TaskQueue int
         3: invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.releaseSpace:(I)I
            pop
         4: .line 656
            goto 7
      StackMap locals:
      StackMap stack:
         5: iload 2 /* isAtomic */
            ifne 7
         6: .line 657
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.outputQueue:Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
            iload 1 /* justSentBytes */
            invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.releaseSpace:(I)I
            pop
         7: .line 659
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean isEndOfChunk
        end local 2 // boolean isAtomic
        end local 1 // int justSentBytes
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0           this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0    8     1  justSentBytes  I
            0    8     2       isAtomic  Z
            0    8     3   isEndOfChunk  Z
    MethodParameters:
               Name  Flags
      justSentBytes  final
      isAtomic       final
      isEndOfChunk   final

  private void sendTrailers(org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>, org.glassfish.grizzly.http.HttpTrailer);
    descriptor: (Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/http/HttpTrailer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=9, args_size=3
        start local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
        start local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        start local 2 // org.glassfish.grizzly.http.HttpTrailer httpContent
         0: .line 662
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         1: .line 664
            invokestatic org.glassfish.grizzly.http2.NetLogger.isActive:()Z
            istore 3 /* logging */
        start local 3 // boolean logging
         2: .line 665
            iload 3 /* logging */
            ifeq 3
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            goto 4
      StackMap locals: int
      StackMap stack:
         3: aconst_null
      StackMap locals:
      StackMap stack: java.util.HashMap
         4: astore 4 /* capture */
        start local 4 // java.util.Map capture
         5: .line 667
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.stream:Lorg/glassfish/grizzly/http2/Http2Stream;
            invokevirtual org.glassfish.grizzly.http2.Http2Stream.getId:()I
         6: .line 668
            new java.util.ArrayList
            dup
            iconst_4
            invokespecial java.util.ArrayList.<init>:(I)V
         7: .line 669
            aload 2 /* httpContent */
            invokevirtual org.glassfish.grizzly.http.HttpTrailer.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
            aload 4 /* capture */
         8: .line 667
            invokevirtual org.glassfish.grizzly.http2.Http2Session.encodeTrailersAsHeaderFrames:(ILjava/util/List;Lorg/glassfish/grizzly/http/util/MimeHeaders;Ljava/util/Map;)Ljava/util/List;
         9: .line 666
            astore 5 /* trailerFrames */
        start local 5 // java.util.List trailerFrames
        10: .line 670
            iload 3 /* logging */
            ifeq 17
        11: .line 671
            aload 5 /* trailerFrames */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 7
            goto 16
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.http.HttpTrailer int java.util.Map java.util.List top java.util.Iterator
      StackMap stack:
        12: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.glassfish.grizzly.http2.frames.Http2Frame
            astore 6 /* http2Frame */
        start local 6 // org.glassfish.grizzly.http2.frames.Http2Frame http2Frame
        13: .line 672
            aload 6 /* http2Frame */
            invokevirtual org.glassfish.grizzly.http2.frames.Http2Frame.getType:()I
            iconst_5
            if_icmpne 16
        14: .line 673
            getstatic org.glassfish.grizzly.http2.NetLogger$Context.TX:Lorg/glassfish/grizzly/http2/NetLogger$Context;
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            aload 6 /* http2Frame */
            checkcast org.glassfish.grizzly.http2.frames.HeadersFrame
            aload 4 /* capture */
            invokestatic org.glassfish.grizzly.http2.NetLogger.log:(Lorg/glassfish/grizzly/http2/NetLogger$Context;Lorg/glassfish/grizzly/http2/Http2Session;Lorg/glassfish/grizzly/http2/frames/HeadersFrame;Ljava/util/Map;)V
        15: .line 674
            goto 17
        end local 6 // org.glassfish.grizzly.http2.frames.Http2Frame http2Frame
        16: .line 671
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 12
        17: .line 678
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.http.HttpTrailer int java.util.Map java.util.List
      StackMap stack:
            aload 0 /* this */
            aload 5 /* trailerFrames */
            aload 1 /* completionHandler */
            aconst_null
            iconst_1
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.flushToConnectionOutputSink:(Ljava/util/List;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;Z)V
        18: .line 679
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.unflushedWritesCounter:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            pop
        end local 5 // java.util.List trailerFrames
        end local 4 // java.util.Map capture
        end local 3 // boolean logging
        19: .line 680
            goto 30
      StackMap locals: org.glassfish.grizzly.http2.DefaultOutputSink org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.http.HttpTrailer
      StackMap stack: java.io.IOException
        20: astore 3 /* ex */
        start local 3 // java.io.IOException ex
        21: .line 681
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
            ldc "Error sending trailers."
            aload 3 /* ex */
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 3 // java.io.IOException ex
        22: .line 683
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.close:()V
        23: .line 684
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            ldc "Sending trailers finished, unlocking the deflater lock ..."
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        24: .line 685
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
            goto 33
        25: .line 682
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 8
        26: .line 683
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.close:()V
        27: .line 684
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            ldc "Sending trailers finished, unlocking the deflater lock ..."
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        28: .line 685
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        29: .line 686
            aload 8
            athrow
        30: .line 683
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.glassfish.grizzly.http2.DefaultOutputSink.close:()V
        31: .line 684
            getstatic org.glassfish.grizzly.http2.DefaultOutputSink.LOGGER:Ljava/util/logging/Logger;
            ldc "Sending trailers finished, unlocking the deflater lock ..."
            invokevirtual java.util.logging.Logger.finest:(Ljava/lang/String;)V
        32: .line 685
            aload 0 /* this */
            getfield org.glassfish.grizzly.http2.DefaultOutputSink.http2Session:Lorg/glassfish/grizzly/http2/Http2Session;
            invokevirtual org.glassfish.grizzly.http2.Http2Session.getDeflaterLock:()Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
        33: .line 687
      StackMap locals:
      StackMap stack:
            return
        end local 2 // org.glassfish.grizzly.http.HttpTrailer httpContent
        end local 1 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 0 // org.glassfish.grizzly.http2.DefaultOutputSink this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   34     0               this  Lorg/glassfish/grizzly/http2/DefaultOutputSink;
            0   34     1  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
            0   34     2        httpContent  Lorg/glassfish/grizzly/http/HttpTrailer;
            2   19     3            logging  Z
            5   19     4            capture  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
           10   19     5      trailerFrames  Ljava/util/List<Lorg/glassfish/grizzly/http2/frames/Http2Frame;>;
           13   16     6         http2Frame  Lorg/glassfish/grizzly/http2/frames/Http2Frame;
           21   22     3                 ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           1    19      20  Class java.io.IOException
           1    22      25  any
    Signature: (Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;Lorg/glassfish/grizzly/http/HttpTrailer;)V
    MethodParameters:
                   Name  Flags
      completionHandler  final
      httpContent        final

  private static java.lang.String lambda$0(boolean);
    descriptor: (Z)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 261
            new java.lang.StringBuilder
            dup
            ldc "Header not committed yet; dontSendPayload="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 0
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$1(boolean);
    descriptor: (Z)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 299
            new java.lang.StringBuilder
            dup
            ldc "Nothing to send; dontSendPayload="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 0
            invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$2(int, int);
    descriptor: (II)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 323
            new java.lang.StringBuilder
            dup
            ldc "Bytes reserved: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 0
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", was requested: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 1
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.lang.String lambda$3(int, int);
    descriptor: (II)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
         0: .line 355
            new java.lang.StringBuilder
            dup
            ldc "Remaining: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 0
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", fitWindowLen: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 1
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "DefaultOutputSink.java"
NestMembers:
  org.glassfish.grizzly.http2.DefaultOutputSink$1  org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler  org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract MutableMaxQueueSize = org.glassfish.grizzly.asyncqueue.TaskQueue$MutableMaxQueueSize of org.glassfish.grizzly.asyncqueue.TaskQueue
  org.glassfish.grizzly.http2.DefaultOutputSink$1
  private final FlushCompletionHandler = org.glassfish.grizzly.http2.DefaultOutputSink$FlushCompletionHandler of org.glassfish.grizzly.http2.DefaultOutputSink
  private OutputQueueRecord = org.glassfish.grizzly.http2.DefaultOutputSink$OutputQueueRecord of org.glassfish.grizzly.http2.DefaultOutputSink
  final Context = org.glassfish.grizzly.http2.NetLogger$Context of org.glassfish.grizzly.http2.NetLogger
  public final SourceFactory = org.glassfish.grizzly.http2.Source$SourceFactory of org.glassfish.grizzly.http2.Source