public class org.glassfish.grizzly.http.server.io.ServerInputBuffer extends org.glassfish.grizzly.http.io.InputBuffer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.io.ServerInputBuffer
super_class: org.glassfish.grizzly.http.io.InputBuffer
{
private volatile long totalReadContentInBytes;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile org.glassfish.grizzly.http.server.Request serverRequest;
descriptor: Lorg/glassfish/grizzly/http/server/Request;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
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.InputBuffer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/io/ServerInputBuffer;
public void initialize(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.filterchain.FilterChainContext);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/filterchain/FilterChainContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.serverRequest:Lorg/glassfish/grizzly/http/server/Request;
1: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.Request.getRequest:()Lorg/glassfish/grizzly/http/HttpRequestPacket;
aload 2
invokespecial org.glassfish.grizzly.http.io.InputBuffer.initialize:(Lorg/glassfish/grizzly/http/HttpHeader;Lorg/glassfish/grizzly/filterchain/FilterChainContext;)V
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/ServerInputBuffer;
0 3 1 serverRequest Lorg/glassfish/grizzly/http/server/Request;
0 3 2 ctx Lorg/glassfish/grizzly/filterchain/FilterChainContext;
MethodParameters:
Name Flags
serverRequest final
ctx final
public void initiateAsyncronousDataReceiving();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.io.ServerInputBuffer.checkChunkedMaxPostSize:()Z
ifne 8
1: aload 0
getfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.serverRequest:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getRequest:()Lorg/glassfish/grizzly/http/HttpRequestPacket;
invokestatic org.glassfish.grizzly.http.HttpBrokenContent.builder:(Lorg/glassfish/grizzly/http/HttpHeader;)Lorg/glassfish/grizzly/http/HttpBrokenContent$Builder;
2: new java.io.IOException
dup
ldc "The HTTP request content exceeds max post size"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
invokevirtual org.glassfish.grizzly.http.HttpBrokenContent$Builder.error:(Ljava/lang/Throwable;)Lorg/glassfish/grizzly/http/HttpBrokenContent$Builder;
invokevirtual org.glassfish.grizzly.http.HttpBrokenContent$Builder.build:()Lorg/glassfish/grizzly/http/HttpBrokenContent;
3: astore 1
start local 1 4: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.server.io.ServerInputBuffer.append:(Lorg/glassfish/grizzly/http/HttpContent;)Z
pop
5: goto 7
StackMap locals: org.glassfish.grizzly.http.server.io.ServerInputBuffer org.glassfish.grizzly.http.HttpContent
StackMap stack: java.io.IOException
6: pop
7: StackMap locals:
StackMap stack:
return
end local 1 8: StackMap locals:
StackMap stack:
aload 0
invokespecial org.glassfish.grizzly.http.io.InputBuffer.initiateAsyncronousDataReceiving:()V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/http/server/io/ServerInputBuffer;
4 8 1 brokenContent Lorg/glassfish/grizzly/http/HttpContent;
Exception table:
from to target type
4 5 6 Class java.io.IOException
protected org.glassfish.grizzly.http.HttpContent blockingRead();
descriptor: ()Lorg/glassfish/grizzly/http/HttpContent;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.server.io.ServerInputBuffer.checkChunkedMaxPostSize:()Z
ifne 2
1: new java.io.IOException
dup
ldc "The HTTP request content exceeds max post size"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokespecial org.glassfish.grizzly.http.io.InputBuffer.blockingRead:()Lorg/glassfish/grizzly/http/HttpContent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/io/ServerInputBuffer;
Exceptions:
throws java.io.IOException
protected void updateInputContentBuffer(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.totalReadContentInBytes:J
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
i2l
ladd
putfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.totalReadContentInBytes:J
1: aload 0
aload 1
invokespecial org.glassfish.grizzly.http.io.InputBuffer.updateInputContentBuffer:(Lorg/glassfish/grizzly/Buffer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/io/ServerInputBuffer;
0 3 1 buffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
buffer final
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.serverRequest:Lorg/glassfish/grizzly/http/server/Request;
1: aload 0
lconst_0
putfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.totalReadContentInBytes:J
2: aload 0
invokespecial org.glassfish.grizzly.http.io.InputBuffer.recycle:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/io/ServerInputBuffer;
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.ServerInputBuffer.serverRequest: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/ServerInputBuffer;
private boolean checkChunkedMaxPostSize();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.serverRequest:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getRequest:()Lorg/glassfish/grizzly/http/HttpRequestPacket;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.isChunked:()Z
ifeq 4
1: aload 0
getfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.serverRequest:Lorg/glassfish/grizzly/http/server/Request;
invokevirtual org.glassfish.grizzly.http.server.Request.getHttpFilter:()Lorg/glassfish/grizzly/http/server/HttpServerFilter;
invokevirtual org.glassfish.grizzly.http.server.HttpServerFilter.getConfiguration:()Lorg/glassfish/grizzly/http/server/ServerFilterConfiguration;
invokevirtual org.glassfish.grizzly.http.server.ServerFilterConfiguration.getMaxPostSize:()J
lstore 1
start local 1 2: lload 1
lconst_0
lcmp
iflt 3
lload 1
aload 0
getfield org.glassfish.grizzly.http.server.io.ServerInputBuffer.totalReadContentInBytes:J
lcmp
ifgt 3
iconst_0
ireturn
StackMap locals: long
StackMap stack:
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/server/io/ServerInputBuffer;
2 4 1 maxPostSize J
}
SourceFile: "ServerInputBuffer.java"
InnerClasses:
public final Builder = org.glassfish.grizzly.http.HttpBrokenContent$Builder of org.glassfish.grizzly.http.HttpBrokenContent