public class org.glassfish.grizzly.http.HttpContent extends org.glassfish.grizzly.http.HttpPacket implements org.glassfish.grizzly.Appendable<org.glassfish.grizzly.http.HttpContent>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.HttpContent
super_class: org.glassfish.grizzly.http.HttpPacket
{
private static final org.glassfish.grizzly.ThreadCache$CachedTypeIndex<org.glassfish.grizzly.http.HttpContent> 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/http/HttpContent;>;
protected boolean isLast;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected org.glassfish.grizzly.Buffer content;
descriptor: Lorg/glassfish/grizzly/Buffer;
flags: (0x0004) ACC_PROTECTED
protected org.glassfish.grizzly.http.HttpHeader ;
descriptor: Lorg/glassfish/grizzly/http/HttpHeader;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http/HttpContent;
bipush 16
invokestatic org.glassfish.grizzly.ThreadCache.obtainIndex:(Ljava/lang/Class;I)Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
putstatic org.glassfish.grizzly.http.HttpContent.CACHE_IDX:Lorg/glassfish/grizzly/ThreadCache$CachedTypeIndex;
return
LocalVariableTable:
Start End Slot Name Signature
public static boolean isContent(org.glassfish.grizzly.http.HttpPacket);
descriptor: (Lorg/glassfish/grizzly/http/HttpPacket;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.glassfish.grizzly.http.HttpContent
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 httpPacket Lorg/glassfish/grizzly/http/HttpPacket;
MethodParameters:
Name Flags
httpPacket final
public static boolean isBroken(org.glassfish.grizzly.http.HttpContent);
descriptor: (Lorg/glassfish/grizzly/http/HttpContent;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.glassfish.grizzly.http.HttpBrokenContent
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 httpContent Lorg/glassfish/grizzly/http/HttpContent;
MethodParameters:
Name Flags
httpContent final
public static org.glassfish.grizzly.http.HttpContent create();
descriptor: ()Lorg/glassfish/grizzly/http/HttpContent;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
invokestatic org.glassfish.grizzly.http.HttpContent.create:(Lorg/glassfish/grizzly/http/HttpHeader;)Lorg/glassfish/grizzly/http/HttpContent;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.http.HttpContent (org.glassfish.grizzly.http.HttpHeader);
descriptor: (Lorg/glassfish/grizzly/http/HttpHeader;)Lorg/glassfish/grizzly/http/HttpContent;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic org.glassfish.grizzly.http.HttpContent.create:(Lorg/glassfish/grizzly/http/HttpHeader;Z)Lorg/glassfish/grizzly/http/HttpContent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 httpHeader Lorg/glassfish/grizzly/http/HttpHeader;
MethodParameters:
Name Flags
httpHeader final
public static org.glassfish.grizzly.http.HttpContent (org.glassfish.grizzly.http.HttpHeader, boolean);
descriptor: (Lorg/glassfish/grizzly/http/HttpHeader;Z)Lorg/glassfish/grizzly/http/HttpContent;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
invokestatic org.glassfish.grizzly.http.HttpContent.create:(Lorg/glassfish/grizzly/http/HttpHeader;ZLorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/http/HttpContent;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 httpHeader Lorg/glassfish/grizzly/http/HttpHeader;
0 1 1 isLast Z
MethodParameters:
Name Flags
httpHeader final
isLast final
public static org.glassfish.grizzly.http.HttpContent (org.glassfish.grizzly.http.HttpHeader, boolean, org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/http/HttpHeader;ZLorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/http/HttpContent;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 2
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
StackMap locals:
StackMap stack: org.glassfish.grizzly.Buffer
2: astore 2
3: getstatic org.glassfish.grizzly.http.HttpContent.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.http.HttpContent
astore 3
start local 3 4: aload 3
ifnull 9
5: aload 3
aload 0
putfield org.glassfish.grizzly.http.HttpContent.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
6: aload 3
iload 1
putfield org.glassfish.grizzly.http.HttpContent.isLast:Z
7: aload 3
aload 2
putfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
8: aload 3
areturn
9: StackMap locals: org.glassfish.grizzly.http.HttpContent
StackMap stack:
new org.glassfish.grizzly.http.HttpContent
dup
aload 0
iload 1
aload 2
invokespecial org.glassfish.grizzly.http.HttpContent.<init>:(Lorg/glassfish/grizzly/http/HttpHeader;ZLorg/glassfish/grizzly/Buffer;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 httpHeader Lorg/glassfish/grizzly/http/HttpHeader;
0 10 1 isLast Z
0 10 2 content Lorg/glassfish/grizzly/Buffer;
4 10 3 httpContent Lorg/glassfish/grizzly/http/HttpContent;
MethodParameters:
Name Flags
httpHeader final
isLast final
content
public static org.glassfish.grizzly.http.HttpContent$Builder (org.glassfish.grizzly.http.HttpHeader);
descriptor: (Lorg/glassfish/grizzly/http/HttpHeader;)Lorg/glassfish/grizzly/http/HttpContent$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.glassfish.grizzly.http.HttpContent$Builder
dup
invokespecial org.glassfish.grizzly.http.HttpContent$Builder.<init>:()V
aload 0
invokevirtual org.glassfish.grizzly.http.HttpContent$Builder.httpHeader:(Lorg/glassfish/grizzly/http/HttpHeader;)Lorg/glassfish/grizzly/http/HttpContent$Builder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 httpHeader Lorg/glassfish/grizzly/http/HttpHeader;
MethodParameters:
Name Flags
httpHeader final
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.glassfish.grizzly.http.HttpContent.<init>:(Lorg/glassfish/grizzly/http/HttpHeader;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/HttpContent;
protected void (org.glassfish.grizzly.http.HttpHeader);
descriptor: (Lorg/glassfish/grizzly/http/HttpHeader;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.glassfish.grizzly.http.HttpPacket.<init>:()V
1: aload 0
getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
putfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
2: aload 0
aload 1
putfield org.glassfish.grizzly.http.HttpContent.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/HttpContent;
0 4 1 httpHeader Lorg/glassfish/grizzly/http/HttpHeader;
MethodParameters:
Name Flags
httpHeader final
protected void (org.glassfish.grizzly.http.HttpHeader, boolean, org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/http/HttpHeader;ZLorg/glassfish/grizzly/Buffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.glassfish.grizzly.http.HttpPacket.<init>:()V
1: aload 0
getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
putfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
2: aload 0
aload 1
putfield org.glassfish.grizzly.http.HttpContent.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
3: aload 0
iload 2
putfield org.glassfish.grizzly.http.HttpContent.isLast:Z
4: aload 0
aload 3
putfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/HttpContent;
0 6 1 httpHeader Lorg/glassfish/grizzly/http/HttpHeader;
0 6 2 isLast Z
0 6 3 content Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
httpHeader final
isLast final
content final
public org.glassfish.grizzly.Buffer getContent();
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.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/HttpContent;
protected final void setContent(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/HttpContent;
0 2 1 content Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
content
public final org.glassfish.grizzly.http.HttpHeader ();
descriptor: ()Lorg/glassfish/grizzly/http/HttpHeader;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.HttpContent.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/HttpContent;
public boolean isLast();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.HttpContent.isLast:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/HttpContent;
public void setLast(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.grizzly.http.HttpContent.isLast:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/HttpContent;
0 2 1 isLast Z
MethodParameters:
Name Flags
isLast
public final boolean ();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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/http/HttpContent;
public org.glassfish.grizzly.http.HttpContent append(org.glassfish.grizzly.http.HttpContent);
descriptor: (Lorg/glassfish/grizzly/http/HttpContent;)Lorg/glassfish/grizzly/http/HttpContent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.HttpContent.isLast:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Can not append to a last chunk"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.glassfish.grizzly.http.HttpContent.isBroken:(Lorg/glassfish/grizzly/http/HttpContent;)Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.HttpContent.getContent:()Lorg/glassfish/grizzly/Buffer;
astore 2
start local 2 5: aload 2
ifnull 7
aload 2
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifeq 7
6: aload 0
aconst_null
aload 0
getfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
aload 2
invokestatic org.glassfish.grizzly.memory.Buffers.appendBuffers:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
putfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
7: StackMap locals: org.glassfish.grizzly.Buffer
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.HttpContent.isLast:()Z
ifeq 10
8: aload 1
aload 0
getfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
invokevirtual org.glassfish.grizzly.http.HttpContent.setContent:(Lorg/glassfish/grizzly/Buffer;)V
9: aload 1
areturn
10: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/HttpContent;
0 11 1 element Lorg/glassfish/grizzly/http/HttpContent;
5 11 2 content2 Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
element final
protected void reset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.glassfish.grizzly.http.HttpContent.isLast:Z
1: aload 0
getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
putfield org.glassfish.grizzly.http.HttpContent.content:Lorg/glassfish/grizzly/Buffer;
2: aload 0
aconst_null
putfield org.glassfish.grizzly.http.HttpContent.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/HttpContent;
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.HttpContent.reset:()V
1: getstatic org.glassfish.grizzly.http.HttpContent.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
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/HttpContent;
public java.lang.Object append(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.http.HttpContent
invokevirtual org.glassfish.grizzly.http.HttpContent.append:(Lorg/glassfish/grizzly/http/HttpContent;)Lorg/glassfish/grizzly/http/HttpContent;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/glassfish/grizzly/http/HttpPacket;Lorg/glassfish/grizzly/Appendable<Lorg/glassfish/grizzly/http/HttpContent;>;
SourceFile: "HttpContent.java"
NestMembers:
org.glassfish.grizzly.http.HttpContent$Builder
InnerClasses:
public final CachedTypeIndex = org.glassfish.grizzly.ThreadCache$CachedTypeIndex of org.glassfish.grizzly.ThreadCache
public Builder = org.glassfish.grizzly.http.HttpContent$Builder of org.glassfish.grizzly.http.HttpContent