public final class org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output extends org.glassfish.grizzly.streams.BufferedOutput
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output
  super_class: org.glassfish.grizzly.streams.BufferedOutput
{
  private final org.glassfish.grizzly.Connection connection;
    descriptor: Lorg/glassfish/grizzly/Connection;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int sentBytesCounter;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public void <init>(org.glassfish.grizzly.Connection);
    descriptor: (Lorg/glassfish/grizzly/Connection;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
        start local 1 // org.glassfish.grizzly.Connection connection
         0: .line 53
            aload 0 /* this */
            aload 1 /* connection */
            invokeinterface org.glassfish.grizzly.Connection.getWriteBufferSize:()I
            invokespecial org.glassfish.grizzly.streams.BufferedOutput.<init>:(I)V
         1: .line 54
            aload 0 /* this */
            aload 1 /* connection */
            putfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.connection:Lorg/glassfish/grizzly/Connection;
         2: .line 55
            return
        end local 1 // org.glassfish.grizzly.Connection connection
        end local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
            0    3     1  connection  Lorg/glassfish/grizzly/Connection;
    MethodParameters:
            Name  Flags
      connection  

  protected org.glassfish.grizzly.GrizzlyFuture<java.lang.Integer> flush0(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.CompletionHandler<java.lang.Integer>);
    descriptor: (Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=7, locals=4, args_size=3
        start local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
        start local 1 // org.glassfish.grizzly.Buffer buffer
        start local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
         0: .line 60
            invokestatic org.glassfish.grizzly.impl.SafeFutureImpl.create:()Lorg/glassfish/grizzly/impl/SafeFutureImpl;
            astore 3 /* future */
        start local 3 // org.glassfish.grizzly.impl.FutureImpl future
         1: .line 62
            aload 1 /* buffer */
            ifnonnull 3
         2: .line 63
            getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
            astore 1 /* buffer */
         3: .line 66
      StackMap locals: org.glassfish.grizzly.impl.FutureImpl
      StackMap stack:
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.connection:Lorg/glassfish/grizzly/Connection;
            aload 1 /* buffer */
            new org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter
            dup
            aload 0 /* this */
            aload 3 /* future */
            aload 2 /* completionHandler */
            invokespecial org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.<init>:(Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;)V
            invokeinterface org.glassfish.grizzly.Connection.write:(Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
         4: .line 67
            aload 3 /* future */
            areturn
        end local 3 // org.glassfish.grizzly.impl.FutureImpl future
        end local 2 // org.glassfish.grizzly.CompletionHandler completionHandler
        end local 1 // org.glassfish.grizzly.Buffer buffer
        end local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    5     0               this  Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
            0    5     1             buffer  Lorg/glassfish/grizzly/Buffer;
            0    5     2  completionHandler  Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
            1    5     3             future  Lorg/glassfish/grizzly/impl/FutureImpl<Ljava/lang/Integer;>;
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;)Lorg/glassfish/grizzly/GrizzlyFuture<Ljava/lang/Integer;>;
    MethodParameters:
                   Name  Flags
      buffer             
      completionHandler  final

  protected org.glassfish.grizzly.Buffer newBuffer(int);
    descriptor: (I)Lorg/glassfish/grizzly/Buffer;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
        start local 1 // int size
         0: .line 72
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.connection:Lorg/glassfish/grizzly/Connection;
            invokeinterface org.glassfish.grizzly.Connection.getMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
            iload 1 /* size */
            invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
            areturn
        end local 1 // int size
        end local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
            0    1     1  size  I
    MethodParameters:
      Name  Flags
      size  

  protected org.glassfish.grizzly.Buffer reallocateBuffer(org.glassfish.grizzly.Buffer, int);
    descriptor: (Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
        start local 1 // org.glassfish.grizzly.Buffer oldBuffer
        start local 2 // int size
         0: .line 77
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.connection:Lorg/glassfish/grizzly/Connection;
            invokeinterface org.glassfish.grizzly.Connection.getMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
            aload 1 /* oldBuffer */
            iload 2 /* size */
            invokeinterface org.glassfish.grizzly.memory.MemoryManager.reallocate:(Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
            areturn
        end local 2 // int size
        end local 1 // org.glassfish.grizzly.Buffer oldBuffer
        end local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
            0    1     1  oldBuffer  Lorg/glassfish/grizzly/Buffer;
            0    1     2       size  I
    MethodParameters:
           Name  Flags
      oldBuffer  
      size       

  protected void onClosed();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
         0: .line 82
            aload 0 /* this */
            getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.connection:Lorg/glassfish/grizzly/Connection;
            invokeinterface org.glassfish.grizzly.Connection.closeSilently:()V
         1: .line 83
            return
        end local 0 // org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "DefaultStreamWriter.java"
NestHost: org.glassfish.grizzly.nio.transport.DefaultStreamWriter
InnerClasses:
  private final CompletionHandlerAdapter = org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter of org.glassfish.grizzly.nio.transport.DefaultStreamWriter
  public final Output = org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output of org.glassfish.grizzly.nio.transport.DefaultStreamWriter