public class org.glassfish.grizzly.http2.Http2OutputQueueRecord extends org.glassfish.grizzly.asyncqueue.AsyncQueueRecord<org.glassfish.grizzly.WriteResult>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http2.Http2OutputQueueRecord
super_class: org.glassfish.grizzly.asyncqueue.AsyncQueueRecord
{
private final int streamId;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.glassfish.grizzly.http2.utils.ChunkedCompletionHandler chunkedCompletionHandler;
descriptor: Lorg/glassfish/grizzly/http2/utils/ChunkedCompletionHandler;
flags: (0x0002) ACC_PRIVATE
private final org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult> originalCompletionHandler;
descriptor: Lorg/glassfish/grizzly/CompletionHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
private org.glassfish.grizzly.Buffer buffer;
descriptor: Lorg/glassfish/grizzly/Buffer;
flags: (0x0002) ACC_PRIVATE
private final boolean isLast;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isZeroSizeData;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(int, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult>, );
descriptor: (ILorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Z)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aconst_null
aconst_null
aconst_null
invokespecial org.glassfish.grizzly.asyncqueue.AsyncQueueRecord.<init>:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
1: aload 0
iload 1
putfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.streamId:I
2: aload 0
aload 2
putfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
3: aload 0
aload 2
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifeq 4
iconst_0
goto 5
StackMap locals: org.glassfish.grizzly.http2.Http2OutputQueueRecord int org.glassfish.grizzly.Buffer org.glassfish.grizzly.CompletionHandler int
StackMap stack: org.glassfish.grizzly.http2.Http2OutputQueueRecord
4: iconst_1
StackMap locals: org.glassfish.grizzly.http2.Http2OutputQueueRecord int org.glassfish.grizzly.Buffer org.glassfish.grizzly.CompletionHandler int
StackMap stack: org.glassfish.grizzly.http2.Http2OutputQueueRecord int
5: putfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.isZeroSizeData:Z
6: aload 0
aload 3
putfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.originalCompletionHandler:Lorg/glassfish/grizzly/CompletionHandler;
7: aload 0
iload 4
putfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.isLast:Z
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http2/Http2OutputQueueRecord;
0 9 1 streamId I
0 9 2 buffer Lorg/glassfish/grizzly/Buffer;
0 9 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
0 9 4 isLast Z
Signature: (ILorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;Z)V
MethodParameters:
Name Flags
streamId final
buffer final
completionHandler final
isLast final
public void notifyFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http2.Http2OutputQueueRecord.getCompletionHandler:()Lorg/glassfish/grizzly/CompletionHandler;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
3: StackMap locals: org.glassfish.grizzly.CompletionHandler
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/Http2OutputQueueRecord;
0 4 1 e Ljava/lang/Throwable;
1 4 2 chLocal Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
MethodParameters:
Name Flags
e final
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/Http2OutputQueueRecord;
public org.glassfish.grizzly.WriteResult getCurrentResult();
descriptor: ()Lorg/glassfish/grizzly/WriteResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/Http2OutputQueueRecord;
org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult> getCompletionHandler();
descriptor: ()Lorg/glassfish/grizzly/CompletionHandler;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.chunkedCompletionHandler:Lorg/glassfish/grizzly/http2/utils/ChunkedCompletionHandler;
ifnull 1
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.chunkedCompletionHandler:Lorg/glassfish/grizzly/http2/utils/ChunkedCompletionHandler;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.originalCompletionHandler:Lorg/glassfish/grizzly/CompletionHandler;
StackMap locals:
StackMap stack: org.glassfish.grizzly.CompletionHandler
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/Http2OutputQueueRecord;
Signature: ()Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult;>;
boolean isZeroSizeData();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.isZeroSizeData:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/Http2OutputQueueRecord;
boolean isFinished();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/Http2OutputQueueRecord;
int serializeTo(java.util.List<org.glassfish.grizzly.http2.frames.Http2Frame>, );
descriptor: (Ljava/util/List;I)I
flags: (0x0000)
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
istore 3
start local 3 1: iload 3
iload 2
if_icmpgt 6
2: invokestatic org.glassfish.grizzly.http2.frames.DataFrame.builder:()Lorg/glassfish/grizzly/http2/frames/DataFrame$DataFrameBuilder;
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.streamId:I
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.streamId:(I)Lorg/glassfish/grizzly/http2/frames/Http2Frame$Http2FrameBuilder;
checkcast org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.data:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/http2/frames/DataFrame$DataFrameBuilder;
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.isLast:Z
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.endStream:(Z)Lorg/glassfish/grizzly/http2/frames/DataFrame$DataFrameBuilder;
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.build:()Lorg/glassfish/grizzly/http2/frames/DataFrame;
astore 4
start local 4 3: aload 1
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
aconst_null
putfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
5: iload 3
ireturn
end local 4 6: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.originalCompletionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 8
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.chunkedCompletionHandler:Lorg/glassfish/grizzly/http2/utils/ChunkedCompletionHandler;
ifnonnull 8
7: aload 0
new org.glassfish.grizzly.http2.utils.ChunkedCompletionHandler
dup
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.originalCompletionHandler:Lorg/glassfish/grizzly/CompletionHandler;
invokespecial org.glassfish.grizzly.http2.utils.ChunkedCompletionHandler.<init>:(Lorg/glassfish/grizzly/CompletionHandler;)V
putfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.chunkedCompletionHandler:Lorg/glassfish/grizzly/http2/utils/ChunkedCompletionHandler;
8: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.chunkedCompletionHandler:Lorg/glassfish/grizzly/http2/utils/ChunkedCompletionHandler;
ifnull 10
9: aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.chunkedCompletionHandler:Lorg/glassfish/grizzly/http2/utils/ChunkedCompletionHandler;
invokevirtual org.glassfish.grizzly.http2.utils.ChunkedCompletionHandler.incChunks:()V
10: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 2
iadd
invokeinterface org.glassfish.grizzly.Buffer.split:(I)Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 11: invokestatic org.glassfish.grizzly.http2.frames.DataFrame.builder:()Lorg/glassfish/grizzly/http2/frames/DataFrame$DataFrameBuilder;
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.streamId:I
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.streamId:(I)Lorg/glassfish/grizzly/http2/frames/Http2Frame$Http2FrameBuilder;
checkcast org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder
aload 0
getfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.data:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/http2/frames/DataFrame$DataFrameBuilder;
iconst_0
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.endStream:(Z)Lorg/glassfish/grizzly/http2/frames/DataFrame$DataFrameBuilder;
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.build:()Lorg/glassfish/grizzly/http2/frames/DataFrame;
astore 5
start local 5 12: aload 1
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aload 0
aload 4
putfield org.glassfish.grizzly.http2.Http2OutputQueueRecord.buffer:Lorg/glassfish/grizzly/Buffer;
14: iload 2
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/glassfish/grizzly/http2/Http2OutputQueueRecord;
0 15 1 frames Ljava/util/List<Lorg/glassfish/grizzly/http2/frames/Http2Frame;>;
0 15 2 maxDataSize I
1 15 3 recordSize I
3 6 4 dataFrame Lorg/glassfish/grizzly/http2/frames/DataFrame;
11 15 4 remainder Lorg/glassfish/grizzly/Buffer;
12 15 5 dataFrame Lorg/glassfish/grizzly/http2/frames/DataFrame;
Signature: (Ljava/util/List<Lorg/glassfish/grizzly/http2/frames/Http2Frame;>;I)I
MethodParameters:
Name Flags
frames final
maxDataSize final
public java.lang.Object getCurrentResult();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.glassfish.grizzly.http2.Http2OutputQueueRecord.getCurrentResult:()Lorg/glassfish/grizzly/WriteResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord<Lorg/glassfish/grizzly/WriteResult;>;
SourceFile: "Http2OutputQueueRecord.java"
InnerClasses:
public DataFrameBuilder = org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder of org.glassfish.grizzly.http2.frames.DataFrame
protected abstract Http2FrameBuilder = org.glassfish.grizzly.http2.frames.Http2Frame$Http2FrameBuilder of org.glassfish.grizzly.http2.frames.Http2Frame