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 start local 1 0: aload 0
aload 1
invokeinterface org.glassfish.grizzly.Connection.getWriteBufferSize:()I
invokespecial org.glassfish.grizzly.streams.BufferedOutput.<init>:(I)V
1: aload 0
aload 1
putfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.connection:Lorg/glassfish/grizzly/Connection;
2: return
end local 1 end local 0 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 start local 1 start local 2 0: invokestatic org.glassfish.grizzly.impl.SafeFutureImpl.create:()Lorg/glassfish/grizzly/impl/SafeFutureImpl;
astore 3
start local 3 1: aload 1
ifnonnull 3
2: getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
astore 1
3: StackMap locals: org.glassfish.grizzly.impl.FutureImpl
StackMap stack:
aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.connection:Lorg/glassfish/grizzly/Connection;
aload 1
new org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter
dup
aload 0
aload 3
aload 2
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: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 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 start local 1 0: aload 0
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
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
areturn
end local 1 end local 0 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 start local 1 start local 2 0: aload 0
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
iload 2
invokeinterface org.glassfish.grizzly.memory.MemoryManager.reallocate:(Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
areturn
end local 2 end local 1 end local 0 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 0: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.connection:Lorg/glassfish/grizzly/Connection;
invokeinterface org.glassfish.grizzly.Connection.closeSilently:()V
1: return
end local 0 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