public class org.glassfish.grizzly.http.server.io.ServerOutputBuffer extends org.glassfish.grizzly.http.io.OutputBuffer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.io.ServerOutputBuffer
super_class: org.glassfish.grizzly.http.io.OutputBuffer
{
private org.glassfish.grizzly.http.server.Response serverResponse;
descriptor: Lorg/glassfish/grizzly/http/server/Response;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.glassfish.grizzly.http.io.OutputBuffer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
public void initialize(org.glassfish.grizzly.http.server.Response, org.glassfish.grizzly.filterchain.FilterChainContext);
descriptor: (Lorg/glassfish/grizzly/http/server/Response;Lorg/glassfish/grizzly/filterchain/FilterChainContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.Response.getResponse:()Lorg/glassfish/grizzly/http/HttpResponsePacket;
aload 1
invokevirtual org.glassfish.grizzly.http.server.Response.isSendFileEnabled:()Z
aload 2
invokespecial org.glassfish.grizzly.http.io.OutputBuffer.initialize:(Lorg/glassfish/grizzly/http/HttpHeader;ZLorg/glassfish/grizzly/filterchain/FilterChainContext;)V
1: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.io.ServerOutputBuffer.serverResponse:Lorg/glassfish/grizzly/http/server/Response;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
0 3 1 response Lorg/glassfish/grizzly/http/server/Response;
0 3 2 ctx Lorg/glassfish/grizzly/filterchain/FilterChainContext;
MethodParameters:
Name Flags
response final
ctx final
public void sendfile(java.io.File, long, long, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>);
descriptor: (Ljava/io/File;JJLorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
getfield org.glassfish.grizzly.http.server.io.ServerOutputBuffer.sendfileEnabled:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "sendfile support isn't available."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.io.ServerOutputBuffer.serverResponse:Lorg/glassfish/grizzly/http/server/Response;
invokevirtual org.glassfish.grizzly.http.server.Response.isSuspended:()Z
istore 7
start local 7 3: iload 7
ifeq 6
aload 6
ifnull 6
4: aload 6
astore 8
start local 8 5: goto 10
end local 8 StackMap locals: int
StackMap stack:
6: iload 7
ifne 9
aload 6
ifnull 9
7: aload 0
aload 6
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.suspendAndCreateHandler:(Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/CompletionHandler;
astore 8
start local 8 8: goto 10
end local 8 9: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 7
invokevirtual org.glassfish.grizzly.http.server.io.ServerOutputBuffer.createInternalCompletionHandler:(Ljava/io/File;Z)Lorg/glassfish/grizzly/CompletionHandler;
astore 8
start local 8 10: StackMap locals: org.glassfish.grizzly.CompletionHandler
StackMap stack:
aload 0
aload 1
lload 2
lload 4
aload 8
invokespecial org.glassfish.grizzly.http.io.OutputBuffer.sendfile:(Ljava/io/File;JJLorg/glassfish/grizzly/CompletionHandler;)V
11: return
end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
0 12 1 file Ljava/io/File;
0 12 2 offset J
0 12 4 length J
0 12 6 handler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
3 12 7 suspendedAtStart Z
5 6 8 ch Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
8 9 8 ch Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
10 12 8 ch Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
Signature: (Ljava/io/File;JJLorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;)V
MethodParameters:
Name Flags
file final
offset final
length final
handler final
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.io.ServerOutputBuffer.serverResponse:Lorg/glassfish/grizzly/http/server/Response;
1: aload 0
invokespecial org.glassfish.grizzly.http.io.OutputBuffer.recycle:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
protected java.util.concurrent.Executor getThreadPool();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.io.ServerOutputBuffer.serverResponse:Lorg/glassfish/grizzly/http/server/Response;
invokevirtual org.glassfish.grizzly.http.server.Response.getRequest:()Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getRequestExecutor:()Ljava/util/concurrent/Executor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
private org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult> createInternalCompletionHandler(java.io.File, boolean);
descriptor: (Ljava/io/File;Z)Lorg/glassfish/grizzly/CompletionHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 2
1: aload 0
getfield org.glassfish.grizzly.http.server.io.ServerOutputBuffer.serverResponse:Lorg/glassfish/grizzly/http/server/Response;
invokevirtual org.glassfish.grizzly.http.server.Response.suspend:()V
2: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.http.server.io.ServerOutputBuffer$1
dup
aload 0
aload 1
invokespecial org.glassfish.grizzly.http.server.io.ServerOutputBuffer$1.<init>:(Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;Ljava/io/File;)V
astore 3
start local 3 3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
0 4 1 file Ljava/io/File;
0 4 2 suspendedAtStart Z
3 4 3 ch Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
Signature: (Ljava/io/File;Z)Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
MethodParameters:
Name Flags
file final
suspendedAtStart final
private org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult> suspendAndCreateHandler(org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>);
descriptor: (Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/CompletionHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.io.ServerOutputBuffer.serverResponse:Lorg/glassfish/grizzly/http/server/Response;
invokevirtual org.glassfish.grizzly.http.server.Response.suspend:()V
1: new org.glassfish.grizzly.http.server.io.ServerOutputBuffer$2
dup
aload 0
aload 1
invokespecial org.glassfish.grizzly.http.server.io.ServerOutputBuffer$2.<init>:(Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;Lorg/glassfish/grizzly/CompletionHandler;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/io/ServerOutputBuffer;
0 2 1 handler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
Signature: (Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;)Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
MethodParameters:
Name Flags
handler final
static java.util.logging.Logger access$0();
descriptor: ()Ljava/util/logging/Logger;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.http.server.io.ServerOutputBuffer.LOGGER:Ljava/util/logging/Logger;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ServerOutputBuffer.java"
NestMembers:
org.glassfish.grizzly.http.server.io.ServerOutputBuffer$1 org.glassfish.grizzly.http.server.io.ServerOutputBuffer$2
InnerClasses:
org.glassfish.grizzly.http.server.io.ServerOutputBuffer$1
org.glassfish.grizzly.http.server.io.ServerOutputBuffer$2