public class org.glassfish.grizzly.http2.frames.DataFrame extends org.glassfish.grizzly.http2.frames.Http2Frame
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http2.frames.DataFrame
super_class: org.glassfish.grizzly.http2.frames.Http2Frame
{
private static final org.glassfish.grizzly.ThreadCache$CachedTypeIndex<org.glassfish.grizzly.http2.frames.DataFrame> CACHE_IDX;
descriptor: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex<Lorg/glassfish/grizzly/http2/frames/DataFrame;>;
public static final int TYPE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final byte END_STREAM;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final byte PADDED;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final java.util.Map<java.lang.Integer, java.lang.String> FLAG_NAMES_MAP;
descriptor: Ljava/util/Map;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/String;>;
private org.glassfish.grizzly.Buffer data;
descriptor: Lorg/glassfish/grizzly/Buffer;
flags: (0x0002) ACC_PRIVATE
private int padLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http2/frames/DataFrame;
bipush 8
invokestatic org.glassfish.grizzly.ThreadCache.obtainIndex:(Ljava/lang/Class;I)Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
putstatic org.glassfish.grizzly.http2.frames.DataFrame.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
1: new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putstatic org.glassfish.grizzly.http2.frames.DataFrame.FLAG_NAMES_MAP:Ljava/util/Map;
2: getstatic org.glassfish.grizzly.http2.frames.DataFrame.FLAG_NAMES_MAP:Ljava/util/Map;
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "END_STREAM"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic org.glassfish.grizzly.http2.frames.DataFrame.FLAG_NAMES_MAP:Ljava/util/Map;
bipush 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "PADDED"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.glassfish.grizzly.http2.frames.Http2Frame.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
static org.glassfish.grizzly.http2.frames.DataFrame create();
descriptor: ()Lorg/glassfish/grizzly/http2/frames/DataFrame;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.http2.frames.DataFrame.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
invokestatic org.glassfish.grizzly.ThreadCache.takeFromCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.http2.frames.DataFrame
astore 0
start local 0 1: aload 0
ifnonnull 3
2: new org.glassfish.grizzly.http2.frames.DataFrame
dup
invokespecial org.glassfish.grizzly.http2.frames.DataFrame.<init>:()V
astore 0
3: StackMap locals: org.glassfish.grizzly.http2.frames.DataFrame
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 frame Lorg/glassfish/grizzly/http2/frames/DataFrame;
public static org.glassfish.grizzly.http2.frames.DataFrame fromBuffer(int, int, org.glassfish.grizzly.Buffer);
descriptor: (IILorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/http2/frames/DataFrame;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.glassfish.grizzly.http2.frames.DataFrame.create:()Lorg/glassfish/grizzly/http2/frames/DataFrame;
astore 3
start local 3 1: aload 3
iload 0
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.setFlags:(I)V
2: aload 3
iload 1
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.setStreamId:(I)V
3: aload 3
bipush 8
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.isFlagSet:(I)Z
ifeq 5
4: aload 3
aload 2
invokeinterface org.glassfish.grizzly.Buffer.get:()B
sipush 255
iand
putfield org.glassfish.grizzly.http2.frames.DataFrame.padLength:I
5: StackMap locals: org.glassfish.grizzly.http2.frames.DataFrame
StackMap stack:
aload 3
aload 2
aload 2
invokeinterface org.glassfish.grizzly.Buffer.position:()I
invokeinterface org.glassfish.grizzly.Buffer.split:(I)Lorg/glassfish/grizzly/Buffer;
putfield org.glassfish.grizzly.http2.frames.DataFrame.data:Lorg/glassfish/grizzly/Buffer;
6: aload 3
aload 2
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.setFrameBuffer:(Lorg/glassfish/grizzly/Buffer;)V
7: aload 3
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.onPayloadUpdated:()V
8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 flags I
0 9 1 streamId I
0 9 2 buffer Lorg/glassfish/grizzly/Buffer;
1 9 3 frame Lorg/glassfish/grizzly/http2/frames/DataFrame;
MethodParameters:
Name Flags
flags final
streamId final
buffer final
public static org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder builder();
descriptor: ()Lorg/glassfish/grizzly/http2/frames/DataFrame$DataFrameBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder
dup
invokespecial org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.glassfish.grizzly.http2.frames.DataFrame normalize();
descriptor: ()Lorg/glassfish/grizzly/http2/frames/DataFrame;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.isPadded:()Z
ifeq 5
1: aload 0
bipush 8
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.clearFlag:(I)V
2: aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.data:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.data:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.padLength:I
isub
invokeinterface org.glassfish.grizzly.Buffer.limit:(I)Lorg/glassfish/grizzly/Buffer;
pop
3: aload 0
iconst_0
putfield org.glassfish.grizzly.http2.frames.DataFrame.padLength:I
4: aload 0
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.onPayloadUpdated:()V
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
public org.glassfish.grizzly.Buffer getData();
descriptor: ()Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.data:Lorg/glassfish/grizzly/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
public int getPadLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.padLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
public boolean isEndStream();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.isFlagSet:(I)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
public boolean isPadded();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 8
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.isFlagSet:(I)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "DataFrame {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.headerToString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", data="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.data:Lorg/glassfish/grizzly/Buffer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
1 3 1 sb Ljava/lang/StringBuilder;
protected int calcLength();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.data:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
aload 0
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.isPadded:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: int
1: iconst_0
StackMap locals: org.glassfish.grizzly.http2.frames.DataFrame
StackMap stack: int int
2: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http2.frames.DataFrame.DONT_RECYCLE:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.glassfish.grizzly.http2.frames.DataFrame.padLength:I
3: aload 0
aconst_null
putfield org.glassfish.grizzly.http2.frames.DataFrame.data:Lorg/glassfish/grizzly/Buffer;
4: aload 0
invokespecial org.glassfish.grizzly.http2.frames.Http2Frame.recycle:()V
5: getstatic org.glassfish.grizzly.http2.frames.DataFrame.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
aload 0
invokestatic org.glassfish.grizzly.ThreadCache.putToCache:(Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;Ljava/lang/Object;)Z
pop
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
public org.glassfish.grizzly.Buffer toBuffer(org.glassfish.grizzly.memory.MemoryManager);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
bipush 8
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.isFlagSet:(I)Z
istore 2
start local 2 1: iload 2
ifeq 2
iconst_1
goto 3
StackMap locals: int
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: aload 1
bipush 9
iload 3
iadd
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 5: aload 0
aload 4
invokevirtual org.glassfish.grizzly.http2.frames.DataFrame.serializeFrameHeader:(Lorg/glassfish/grizzly/Buffer;)V
6: iload 2
ifeq 8
7: aload 4
aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.padLength:I
sipush 255
iand
i2b
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
8: StackMap locals: int org.glassfish.grizzly.Buffer
StackMap stack:
aload 4
invokeinterface org.glassfish.grizzly.Buffer.trim:()V
9: aload 1
iconst_2
anewarray org.glassfish.grizzly.Buffer
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http2.frames.DataFrame.data:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.memory.CompositeBuffer.newBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;[Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
astore 5
start local 5 10: aload 5
iconst_1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowBufferDispose:(Z)V
11: aload 5
iconst_1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowInternalBuffersDispose:(Z)V
12: aload 5
areturn
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 13 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
0 13 1 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
1 13 2 isPadded Z
4 13 3 extraHeaderLen I
5 13 4 buffer Lorg/glassfish/grizzly/Buffer;
10 13 5 cb Lorg/glassfish/grizzly/memory/CompositeBuffer;
MethodParameters:
Name Flags
memoryManager final
protected java.util.Map<java.lang.Integer, java.lang.String> getFlagNamesMap();
descriptor: ()Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http2.frames.DataFrame.FLAG_NAMES_MAP:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http2/frames/DataFrame;
Signature: ()Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/String;>;
}
SourceFile: "DataFrame.java"
NestMembers:
org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache
public DataFrameBuilder = org.glassfish.grizzly.http2.frames.DataFrame$DataFrameBuilder of org.glassfish.grizzly.http2.frames.DataFrame