public class 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.io.InputBuffer
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.logging.Level LOGGER_LEVEL;
descriptor: Ljava/util/logging/Level;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.glassfish.grizzly.http.HttpHeader ;
descriptor: Lorg/glassfish/grizzly/http/HttpHeader;
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.filterchain.FilterChainContext ctx;
descriptor: Lorg/glassfish/grizzly/filterchain/FilterChainContext;
flags: (0x0002) ACC_PRIVATE
private boolean processingChars;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.Buffer inputContentBuffer;
descriptor: Lorg/glassfish/grizzly/Buffer;
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.Connection connection;
descriptor: Lorg/glassfish/grizzly/Connection;
flags: (0x0002) ACC_PRIVATE
private int markPos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int readAheadLimit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int readCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String encoding;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.nio.charset.CharsetDecoder decoder;
descriptor: Ljava/nio/charset/CharsetDecoder;
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<java.lang.String, java.nio.charset.CharsetDecoder> decoders;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/nio/charset/CharsetDecoder;>;
private boolean contentRead;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.ReadHandler handler;
descriptor: Lorg/glassfish/grizzly/ReadHandler;
flags: (0x0002) ACC_PRIVATE
private int requestedSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.nio.CharBuffer singleCharBuf;
descriptor: Ljava/nio/CharBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private float averageCharsPerByte;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private boolean isWaitingDataAsynchronously;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected java.util.Map<java.lang.String, java.lang.String> trailers;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http/io/InputBuffer;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
1: getstatic java.util.logging.Level.FINER:Ljava/util/logging/Level;
putstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.markPos:I
2: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
3: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
4: aload 0
getstatic org.glassfish.grizzly.http.util.Constants.DEFAULT_HTTP_CHARACTER_ENCODING:Ljava/lang/String;
putfield org.glassfish.grizzly.http.io.InputBuffer.encoding:Ljava/lang/String;
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.glassfish.grizzly.http.io.InputBuffer.decoders:Ljava/util/Map;
6: aload 0
iconst_1
invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
iconst_1
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
checkcast java.nio.CharBuffer
putfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
7: aload 0
fconst_1
putfield org.glassfish.grizzly.http.io.InputBuffer.averageCharsPerByte:F
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public void (org.glassfish.grizzly.http.HttpHeader, org.glassfish.grizzly.filterchain.FilterChainContext);
descriptor: (Lorg/glassfish/grizzly/http/HttpHeader;Lorg/glassfish/grizzly/filterchain/FilterChainContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "ctx cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
3: aload 0
aload 2
putfield org.glassfish.grizzly.http.io.InputBuffer.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
4: aload 0
aload 2
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.getConnection:()Lorg/glassfish/grizzly/Connection;
putfield org.glassfish.grizzly.http.io.InputBuffer.connection:Lorg/glassfish/grizzly/Connection;
5: aload 2
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.getMessage:()Ljava/lang/Object;
astore 3
start local 3 6: aload 3
instanceof org.glassfish.grizzly.http.HttpContent
ifeq 16
7: aload 3
checkcast org.glassfish.grizzly.http.HttpContent
astore 4
start local 4 8: aload 4
invokestatic org.glassfish.grizzly.http.io.InputBuffer.checkHttpTrailer:(Lorg/glassfish/grizzly/http/HttpContent;)V
9: aload 0
aload 4
invokevirtual org.glassfish.grizzly.http.HttpContent.getContent:()Lorg/glassfish/grizzly/Buffer;
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.updateInputContentBuffer:(Lorg/glassfish/grizzly/Buffer;)V
10: aload 0
aload 4
invokevirtual org.glassfish.grizzly.http.HttpContent.isLast:()Z
putfield org.glassfish.grizzly.http.io.InputBuffer.contentRead:Z
11: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.contentRead:Z
ifeq 13
12: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.processTrailers:()V
13: StackMap locals: java.lang.Object org.glassfish.grizzly.http.HttpContent
StackMap stack:
aload 4
invokevirtual org.glassfish.grizzly.http.HttpContent.recycle:()V
14: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 16
15: ldc "InputBuffer %s initialize with ready content: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 4 16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 17 1 httpHeader Lorg/glassfish/grizzly/http/HttpHeader;
0 17 2 ctx Lorg/glassfish/grizzly/filterchain/FilterChainContext;
6 17 3 message Ljava/lang/Object;
8 16 4 content Lorg/glassfish/grizzly/http/HttpContent;
MethodParameters:
Name Flags
httpHeader final
ctx final
public void setDefaultEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.encoding:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 2 1 encoding Ljava/lang/String;
MethodParameters:
Name Flags
encoding final
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.tryDispose:()Z
pop
1: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
2: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.limit:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.connection:Lorg/glassfish/grizzly/Connection;
4: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
5: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
6: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
7: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.trailers:Ljava/util/Map;
8: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
9: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
10: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.contentRead:Z
11: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.markPos:I
12: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
13: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.requestedSize:I
14: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
15: aload 0
fconst_1
putfield org.glassfish.grizzly.http.io.InputBuffer.averageCharsPerByte:F
16: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.isWaitingDataAsynchronously:Z
17: aload 0
getstatic org.glassfish.grizzly.http.util.Constants.DEFAULT_HTTP_CHARACTER_ENCODING:Ljava/lang/String;
putfield org.glassfish.grizzly.http.io.InputBuffer.encoding:Ljava/lang/String;
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public void processingChars();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
ifne 7
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
2: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
invokevirtual org.glassfish.grizzly.http.HttpHeader.getCharacterEncoding:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 7
4: aload 0
aload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.encoding:Ljava/lang/String;
5: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.getDecoder:()Ljava/nio/charset/CharsetDecoder;
astore 2
start local 2 6: aload 0
aload 2
invokevirtual java.nio.charset.CharsetDecoder.averageCharsPerByte:()F
putfield org.glassfish.grizzly.http.io.InputBuffer.averageCharsPerByte:F
end local 2 end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
3 7 1 enc Ljava/lang/String;
6 7 2 localDecoder Ljava/nio/charset/CharsetDecoder;
public int readByte();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s readByte. Ready content: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 4
3: new java.io.IOException
dup
ldc "Already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 7
5: aload 0
iconst_1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fill:(I)I
iconst_m1
if_icmpne 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
lconst_1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.checkMarkAfterRead:(J)Z
pop
8: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.get:()B
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s read byte array of len: %s. Ready content: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 4
3: new java.io.IOException
dup
ldc "Already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 3
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 9
7: aload 0
iconst_1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fill:(I)I
iconst_m1
if_icmpne 9
8: iconst_m1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iload 3
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 10: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aload 1
iload 2
iload 4
invokeinterface org.glassfish.grizzly.Buffer.get:([BII)Lorg/glassfish/grizzly/Buffer;
pop
11: aload 0
iload 4
i2l
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.checkMarkAfterRead:(J)Z
ifne 13
12: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
13: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 14 1 b [B
0 14 2 off I
0 14 3 len I
10 14 4 nlen I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b final
off final
len final
public int readyData();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
ifeq 3
aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.availableChar:()I
goto 4
StackMap locals:
StackMap stack:
3: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.available:()I
StackMap locals:
StackMap stack: int
4: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public org.glassfish.grizzly.Buffer getBuffer();
descriptor: ()Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s getBuffer. Ready content: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.duplicate:()Lorg/glassfish/grizzly/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public org.glassfish.grizzly.Buffer readBuffer();
descriptor: ()Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s readBuffer. Ready content: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.readBuffer:(I)Lorg/glassfish/grizzly/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public org.glassfish.grizzly.Buffer readBuffer(int);
descriptor: (I)Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s readBuffer(size), size: %s. Ready content: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
istore 2
start local 2 3: iload 1
iload 2
if_icmple 5
4: new java.lang.IllegalStateException
dup
ldc "Can not read more bytes than available"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 1
iload 2
if_icmpne 9
6: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
astore 3
start local 3 7: aload 0
getstatic org.glassfish.grizzly.memory.Buffers.EMPTY_BUFFER:Lorg/glassfish/grizzly/Buffer;
putfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
8: goto 12
end local 3 9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 1
iadd
invokeinterface org.glassfish.grizzly.Buffer.split:(I)Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 10: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
astore 3
start local 3 11: aload 0
aload 4
putfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
end local 4 12: StackMap locals: org.glassfish.grizzly.Buffer
StackMap stack:
aload 3
areturn
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/http/io/InputBuffer;
0 13 1 size I
3 13 2 remaining I
7 9 3 buffer Lorg/glassfish/grizzly/Buffer;
11 13 3 buffer Lorg/glassfish/grizzly/Buffer;
10 12 4 tmpBuffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
size final
public org.glassfish.grizzly.ReadHandler getReadHandler();
descriptor: ()Lorg/glassfish/grizzly/ReadHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public int read(java.nio.CharBuffer);
descriptor: (Ljava/nio/CharBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s read(CharBuffer). Ready content: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 4
3: new java.io.IOException
dup
ldc "Already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
ifne 6
5: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
7: new java.lang.IllegalArgumentException
dup
ldc "target cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fillChars:(ILjava/nio/CharBuffer;)I
istore 2
start local 2 9: aload 0
iload 2
i2l
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.checkMarkAfterRead:(J)Z
pop
10: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 11 1 target Ljava/nio/CharBuffer;
9 11 2 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target final
public int readChar();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s readChar. Ready content: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 4
3: new java.io.IOException
dup
ldc "Already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
ifne 6
5: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 11
7: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.clear:()Ljava/nio/Buffer;
pop
8: aload 0
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.read:(Ljava/nio/CharBuffer;)I
istore 1
start local 1 9: iload 1
iconst_m1
if_icmpne 11
10: iconst_m1
ireturn
end local 1 11: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.get:()C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
9 11 1 read I
Exceptions:
throws java.io.IOException
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s read char array, len: %s. Ready content: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 4
3: new java.io.IOException
dup
ldc "Already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
ifne 6
5: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
iload 3
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
astore 4
start local 4 9: aload 0
aload 4
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.read:(Ljava/nio/CharBuffer;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 10 1 cbuf [C
0 10 2 off I
0 10 3 len I
9 10 4 buf Ljava/nio/CharBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf final
off final
len final
public boolean ready();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
ifne 4
3: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 5
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
invokevirtual org.glassfish.grizzly.http.HttpHeader.isExpectContent:()Z
ifne 5
iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public void fillFully(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s fillFully, len: %s. Ready content: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
iload 1
ifne 4
3: return
4: StackMap locals:
StackMap stack:
iload 1
ifle 9
5: iload 1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
isub
istore 2
start local 2 6: iload 2
ifle 10
7: aload 0
iload 2
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fill:(I)I
pop
end local 2 8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
iconst_m1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fill:(I)I
pop
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 11 1 length I
6 8 2 remaining I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
length final
public int availableChar();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 6
1: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.clear:()Ljava/nio/Buffer;
pop
2: aload 0
iconst_1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fillAvailableChars:(ILjava/nio/CharBuffer;)I
ifne 5
3: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.limit:()I
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
pop
6: StackMap locals:
StackMap stack:
iconst_1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
i2f
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.averageCharsPerByte:F
fmul
f2i
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 4
1: aload 0
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.position:()I
putfield org.glassfish.grizzly.http.io.InputBuffer.markPos:I
2: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
3: aload 0
iload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 5 1 readAheadLimit I
MethodParameters:
Name Flags
readAheadLimit final
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Already closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
iconst_m1
if_icmpne 4
3: new java.io.IOException
dup
ldc "Mark not set"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
5: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.markPos:I
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
Exceptions:
throws java.io.IOException
public long skip(long, boolean);
descriptor: (JZ)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.skip:(J)J
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 1 1 n J
0 1 3 block Z
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
n final
block final
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: ldc "InputBuffer %s skip %s bytes. Ready content: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.processingChars:Z
ifne 15
3: lload 1
lconst_0
lcmp
ifgt 5
4: lconst_0
lreturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 8
6: aload 0
lload 1
l2i
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fill:(I)I
iconst_m1
if_icmpne 8
7: ldc -1
lreturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
i2l
lload 1
lcmp
ifge 10
9: aload 0
lload 1
l2i
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fill:(I)I
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
i2l
lload 1
invokestatic java.lang.Math.min:(JJ)J
lstore 3
start local 3 11: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.position:()I
lload 3
l2i
iadd
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
12: aload 0
lload 1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.checkMarkAfterRead:(J)Z
ifne 14
13: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
14: StackMap locals: long
StackMap stack:
lload 3
lreturn
end local 3 15: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifge 17
16: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
17: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifne 19
18: lconst_0
lreturn
19: StackMap locals:
StackMap stack:
lload 1
l2i
invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
astore 3
start local 3 20: aload 0
lload 1
l2i
aload 3
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fillChars:(ILjava/nio/CharBuffer;)I
iconst_m1
if_icmpne 22
21: lconst_0
lreturn
22: StackMap locals: java.nio.CharBuffer
StackMap stack:
aload 3
invokevirtual java.nio.CharBuffer.remaining:()I
i2l
lload 1
invokestatic java.lang.Math.min:(JJ)J
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 23 1 n J
11 15 3 nlen J
20 23 3 skipBuffer Ljava/nio/CharBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n final
public java.util.Map<java.lang.String, java.lang.String> getTrailers();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.trailers:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public boolean areTrailersAvailable();
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.io.InputBuffer.trailers:Ljava/util/Map;
ifnull 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/http/io/InputBuffer;
protected void finished();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.contentRead:Z
ifne 7
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http.io.InputBuffer.contentRead:Z
2: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
astore 1
start local 1 3: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.processTrailers:()V
4: aload 1
ifnull 7
5: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
6: aload 0
aload 1
aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.getThreadPool:()Ljava/util/concurrent/Executor;
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.invokeHandlerAllRead:(Lorg/glassfish/grizzly/ReadHandler;Ljava/util/concurrent/Executor;)V
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
3 7 1 localHandler Lorg/glassfish/grizzly/ReadHandler;
private void finishedInTheCurrentThread(org.glassfish.grizzly.ReadHandler);
descriptor: (Lorg/glassfish/grizzly/ReadHandler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.contentRead:Z
ifne 5
1: aload 0
iconst_1
putfield org.glassfish.grizzly.http.io.InputBuffer.contentRead:Z
2: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.processTrailers:()V
3: aload 1
ifnull 5
4: aload 0
aload 1
aconst_null
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.invokeHandlerAllRead:(Lorg/glassfish/grizzly/ReadHandler;Ljava/util/concurrent/Executor;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 6 1 readHandler Lorg/glassfish/grizzly/ReadHandler;
MethodParameters:
Name Flags
readHandler final
private void invokeHandlerAllRead(org.glassfish.grizzly.ReadHandler, java.util.concurrent.Executor);
descriptor: (Lorg/glassfish/grizzly/ReadHandler;Ljava/util/concurrent/Executor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 3
1: aload 2
new org.glassfish.grizzly.http.io.InputBuffer$1
dup
aload 0
aload 1
invokespecial org.glassfish.grizzly.http.io.InputBuffer$1.<init>:(Lorg/glassfish/grizzly/http/io/InputBuffer;Lorg/glassfish/grizzly/ReadHandler;)V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
2: goto 7
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.ReadHandler.onAllDataRead:()V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 3
start local 3 6: aload 1
aload 3
invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 8 1 readHandler Lorg/glassfish/grizzly/ReadHandler;
0 8 2 executor Ljava/util/concurrent/Executor;
6 7 3 t Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.Throwable
MethodParameters:
Name Flags
readHandler final
executor final
private void processTrailers();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.trailers:Ljava/util/Map;
ifnonnull 11
1: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
invokevirtual org.glassfish.grizzly.http.HttpHeader.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
astore 1
start local 1 2: aload 1
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.trailerSize:()I
istore 2
start local 2 3: iload 2
ifle 10
4: aload 0
new java.util.HashMap
dup
iload 2
invokespecial java.util.HashMap.<init>:(I)V
putfield org.glassfish.grizzly.http.io.InputBuffer.trailers:Ljava/util/Map;
5: aload 1
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.trailerNames:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.glassfish.grizzly.http.io.InputBuffer org.glassfish.grizzly.http.util.MimeHeaders int top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 7: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.trailers:Ljava/util/Map;
aload 3
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aload 1
aload 3
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: goto 11
10: StackMap locals: org.glassfish.grizzly.http.io.InputBuffer org.glassfish.grizzly.http.util.MimeHeaders int
StackMap stack:
aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield org.glassfish.grizzly.http.io.InputBuffer.trailers:Ljava/util/Map;
end local 2 end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
2 11 1 headers Lorg/glassfish/grizzly/http/util/MimeHeaders;
3 11 2 trailerSize I
7 8 3 name Ljava/lang/String;
public void replayPayload(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.isFinished:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Can't replay when InputBuffer is not closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 4
3: ldc "InputBuffer %s replayPayload to %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokestatic org.glassfish.grizzly.http.io.InputBuffer.log:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
5: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
6: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
7: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.markPos:I
8: aload 0
aload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 10 1 buffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
buffer final
public boolean isFinished();
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.io.InputBuffer.contentRead:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public boolean isClosed();
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.io.InputBuffer.closed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
public void notifyAvailable(org.glassfish.grizzly.ReadHandler);
descriptor: (Lorg/glassfish/grizzly/ReadHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.notifyAvailable:(Lorg/glassfish/grizzly/ReadHandler;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 2 1 handler Lorg/glassfish/grizzly/ReadHandler;
MethodParameters:
Name Flags
handler final
public void notifyAvailable(org.glassfish.grizzly.ReadHandler, int);
descriptor: (Lorg/glassfish/grizzly/ReadHandler;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "handler cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
ifgt 4
3: new java.lang.IllegalArgumentException
dup
ldc "size should be positive integer"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
ifnull 6
5: new java.lang.IllegalStateException
dup
ldc "Illegal attempt to register a new handler before the existing handler has been notified"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifne 7
aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.isFinished:()Z
ifeq 12
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.ReadHandler.onAllDataRead:()V
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 3
start local 3 10: aload 1
aload 3
invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
end local 3 11: StackMap locals:
StackMap stack:
return
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.readyData:()I
istore 3
start local 3 13: iload 2
iload 3
invokestatic org.glassfish.grizzly.http.io.InputBuffer.shouldNotifyNow:(II)Z
ifeq 19
14: aload 1
invokeinterface org.glassfish.grizzly.ReadHandler.onDataAvailable:()V
15: goto 18
StackMap locals: org.glassfish.grizzly.http.io.InputBuffer org.glassfish.grizzly.ReadHandler int int
StackMap stack: java.lang.Throwable
16: astore 4
start local 4 17: aload 1
aload 4
invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
end local 4 18: StackMap locals:
StackMap stack:
return
19: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.glassfish.grizzly.http.io.InputBuffer.requestedSize:I
20: aload 0
aload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
21: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.isWaitingDataAsynchronously:Z
ifne 24
22: aload 0
iconst_1
putfield org.glassfish.grizzly.http.io.InputBuffer.isWaitingDataAsynchronously:Z
23: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.initiateAsyncronousDataReceiving:()V
24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 25 1 handler Lorg/glassfish/grizzly/ReadHandler;
0 25 2 size I
10 11 3 ioe Ljava/lang/Throwable;
13 25 3 available I
17 18 4 ioe Ljava/lang/Throwable;
Exception table:
from to target type
7 8 9 Class java.lang.Throwable
14 15 16 Class java.lang.Throwable
MethodParameters:
Name Flags
handler final
size final
public boolean append(org.glassfish.grizzly.http.HttpContent);
descriptor: (Lorg/glassfish/grizzly/http/HttpContent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.isWaitingDataAsynchronously:Z
1: aload 1
invokestatic org.glassfish.grizzly.http.HttpContent.isBroken:(Lorg/glassfish/grizzly/http/HttpContent;)Z
ifne 27
2: aload 1
invokevirtual org.glassfish.grizzly.http.HttpContent.getContent:()Lorg/glassfish/grizzly/Buffer;
astore 2
start local 2 3: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifeq 6
4: aload 2
invokeinterface org.glassfish.grizzly.Buffer.dispose:()V
5: iconst_0
ireturn
6: StackMap locals: org.glassfish.grizzly.Buffer
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
astore 3
start local 3 7: aload 1
invokevirtual org.glassfish.grizzly.http.HttpContent.isLast:()Z
istore 4
start local 4 8: iload 4
ifne 9
aload 3
ifnull 9
iconst_1
goto 10
StackMap locals: org.glassfish.grizzly.ReadHandler int
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 5
start local 5 11: iconst_0
istore 6
start local 6 12: aload 2
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifeq 19
13: aload 0
aload 2
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.updateInputContentBuffer:(Lorg/glassfish/grizzly/Buffer;)V
14: aload 3
ifnull 19
15: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.readyData:()I
istore 7
start local 7 16: iload 7
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.requestedSize:I
if_icmplt 19
17: iconst_1
istore 6
18: iconst_0
istore 5
end local 7 19: StackMap locals: int int
StackMap stack:
iload 5
ifeq 22
20: aload 0
iconst_1
putfield org.glassfish.grizzly.http.io.InputBuffer.isWaitingDataAsynchronously:Z
21: iconst_1
ireturn
22: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
23: iload 4
ifeq 25
24: aload 1
invokestatic org.glassfish.grizzly.http.io.InputBuffer.checkHttpTrailer:(Lorg/glassfish/grizzly/http/HttpContent;)V
25: StackMap locals:
StackMap stack:
aload 0
aload 3
iload 6
iload 4
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.invokeHandlerOnProperThread:(Lorg/glassfish/grizzly/ReadHandler;ZZ)V
end local 6 end local 5 end local 4 end local 3 end local 2 26: goto 30
27: StackMap locals: org.glassfish.grizzly.http.io.InputBuffer org.glassfish.grizzly.http.HttpContent
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
astore 2
start local 2 28: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
29: aload 0
aload 2
aload 1
checkcast org.glassfish.grizzly.http.HttpBrokenContent
invokevirtual org.glassfish.grizzly.http.HttpBrokenContent.getException:()Ljava/lang/Throwable;
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.invokeErrorHandlerOnProperThread:(Lorg/glassfish/grizzly/ReadHandler;Ljava/lang/Throwable;)V
end local 2 30: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 31 1 httpContent Lorg/glassfish/grizzly/http/HttpContent;
3 26 2 buffer Lorg/glassfish/grizzly/Buffer;
7 26 3 localHandler Lorg/glassfish/grizzly/ReadHandler;
8 26 4 isLast Z
11 26 5 askForMoreDataInThisThread Z
12 26 6 invokeDataAvailable Z
16 19 7 available I
28 30 2 localHandler Lorg/glassfish/grizzly/ReadHandler;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
httpContent final
public boolean isAsyncEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public void setAsyncEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 1 1 asyncEnabled Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
asyncEnabled
public void terminate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
astore 1
start local 1 1: aload 1
ifnull 6
2: aload 0
aconst_null
putfield org.glassfish.grizzly.http.io.InputBuffer.handler:Lorg/glassfish/grizzly/ReadHandler;
3: aload 1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.connection:Lorg/glassfish/grizzly/Connection;
invokeinterface org.glassfish.grizzly.Connection.isOpen:()Z
ifeq 4
new java.util.concurrent.CancellationException
dup
invokespecial java.util.concurrent.CancellationException.<init>:()V
goto 5
StackMap locals: org.glassfish.grizzly.http.io.InputBuffer org.glassfish.grizzly.ReadHandler
StackMap stack: org.glassfish.grizzly.ReadHandler
4: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
StackMap locals: org.glassfish.grizzly.http.io.InputBuffer org.glassfish.grizzly.ReadHandler
StackMap stack: org.glassfish.grizzly.ReadHandler java.lang.Exception
5: invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
1 7 1 localHandler Lorg/glassfish/grizzly/ReadHandler;
public void initiateAsyncronousDataReceiving();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.getStopAction:()Lorg/glassfish/grizzly/filterchain/NextAction;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.fork:(Lorg/glassfish/grizzly/filterchain/NextAction;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
protected java.util.concurrent.Executor getThreadPool();
descriptor: ()Ljava/util/concurrent/Executor;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic org.glassfish.grizzly.threadpool.Threads.isService:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.connection:Lorg/glassfish/grizzly/Connection;
invokeinterface org.glassfish.grizzly.Connection.getTransport:()Lorg/glassfish/grizzly/Transport;
invokeinterface org.glassfish.grizzly.Transport.getWorkerThreadPool:()Ljava/util/concurrent/ExecutorService;
astore 1
start local 1 3: aload 1
ifnull 4
aload 1
invokeinterface java.util.concurrent.ExecutorService.isShutdown:()Z
ifne 4
aload 1
goto 5
StackMap locals: java.util.concurrent.ExecutorService
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.util.concurrent.ExecutorService
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
3 6 1 es Ljava/util/concurrent/ExecutorService;
private void invokeErrorHandlerOnProperThread(org.glassfish.grizzly.ReadHandler, java.lang.Throwable);
descriptor: (Lorg/glassfish/grizzly/ReadHandler;Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.closed:Z
ifne 6
aload 1
ifnull 6
1: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.getThreadPool:()Ljava/util/concurrent/Executor;
astore 3
start local 3 2: aload 3
ifnull 5
3: aload 3
new org.glassfish.grizzly.http.io.InputBuffer$2
dup
aload 0
aload 1
aload 2
invokespecial org.glassfish.grizzly.http.io.InputBuffer$2.<init>:(Lorg/glassfish/grizzly/http/io/InputBuffer;Lorg/glassfish/grizzly/ReadHandler;Ljava/lang/Throwable;)V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
4: goto 6
5: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 1
aload 2
invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 7 1 localHandler Lorg/glassfish/grizzly/ReadHandler;
0 7 2 error Ljava/lang/Throwable;
2 6 3 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
localHandler final
error final
private void invokeHandlerOnProperThread(org.glassfish.grizzly.ReadHandler, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/ReadHandler;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.getThreadPool:()Ljava/util/concurrent/Executor;
astore 4
start local 4 1: aload 4
ifnull 4
2: aload 4
new org.glassfish.grizzly.http.io.InputBuffer$3
dup
aload 0
aload 1
iload 2
iload 3
invokespecial org.glassfish.grizzly.http.io.InputBuffer$3.<init>:(Lorg/glassfish/grizzly/http/io/InputBuffer;Lorg/glassfish/grizzly/ReadHandler;ZZ)V
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
3: goto 5
4: StackMap locals: java.util.concurrent.Executor
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.invokeHandler:(Lorg/glassfish/grizzly/ReadHandler;ZZ)V
5: StackMap locals:
StackMap stack:
return
end local 4 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/io/InputBuffer;
0 6 1 localHandler Lorg/glassfish/grizzly/ReadHandler;
0 6 2 invokeDataAvailable Z
0 6 3 isLast Z
1 6 4 executor Ljava/util/concurrent/Executor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
localHandler final
invokeDataAvailable final
isLast final
private void invokeHandler(org.glassfish.grizzly.ReadHandler, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/ReadHandler;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifeq 2
1: aload 1
invokeinterface org.glassfish.grizzly.ReadHandler.onDataAvailable:()V
2: StackMap locals:
StackMap stack:
iload 3
ifeq 7
3: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.finishedInTheCurrentThread:(Lorg/glassfish/grizzly/ReadHandler;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 4
start local 4 6: aload 1
aload 4
invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
end local 4 7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 8 1 localHandler Lorg/glassfish/grizzly/ReadHandler;
0 8 2 invokeDataAvailable Z
0 8 3 isLast Z
6 7 4 t Ljava/lang/Throwable;
Exception table:
from to target type
0 4 5 Class java.lang.Throwable
MethodParameters:
Name Flags
localHandler final
invokeDataAvailable final
isLast final
protected org.glassfish.grizzly.http.HttpContent blockingRead();
descriptor: ()Lorg/glassfish/grizzly/http/HttpContent;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.ctx:Lorg/glassfish/grizzly/filterchain/FilterChainContext;
invokevirtual org.glassfish.grizzly.filterchain.FilterChainContext.read:()Lorg/glassfish/grizzly/ReadResult;
astore 1
start local 1 1: aload 1
invokevirtual org.glassfish.grizzly.ReadResult.getMessage:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.HttpContent
astore 2
start local 2 2: aload 1
invokevirtual org.glassfish.grizzly.ReadResult.recycle:()V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
1 4 1 rr Lorg/glassfish/grizzly/ReadResult;
2 4 2 c Lorg/glassfish/grizzly/http/HttpContent;
Exceptions:
throws java.io.IOException
private int fill(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 18
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.blockingRead:()Lorg/glassfish/grizzly/http/HttpContent;
astore 3
start local 3 3: aload 3
invokevirtual org.glassfish.grizzly.http.HttpContent.isLast:()Z
istore 4
start local 4 4: aload 3
invokestatic org.glassfish.grizzly.http.io.InputBuffer.checkHttpTrailer:(Lorg/glassfish/grizzly/http/HttpContent;)V
5: aload 3
invokevirtual org.glassfish.grizzly.http.HttpContent.getContent:()Lorg/glassfish/grizzly/Buffer;
astore 5
start local 5 6: goto 12
end local 5 StackMap locals: org.glassfish.grizzly.http.io.InputBuffer int int org.glassfish.grizzly.http.HttpContent int
StackMap stack: org.glassfish.grizzly.http.HttpBrokenContentException
7: astore 6
start local 6 8: aload 6
invokevirtual org.glassfish.grizzly.http.HttpBrokenContentException.getCause:()Ljava/lang/Throwable;
astore 7
start local 7 9: aload 7
ifnull 10
aload 7
goto 11
StackMap locals: org.glassfish.grizzly.http.io.InputBuffer int int org.glassfish.grizzly.http.HttpContent int top org.glassfish.grizzly.http.HttpBrokenContentException java.lang.Throwable
StackMap stack:
10: aload 6
StackMap locals:
StackMap stack: java.lang.Throwable
11: invokestatic org.glassfish.grizzly.utils.Exceptions.makeIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
athrow
end local 7 end local 6 start local 5 12: StackMap locals: org.glassfish.grizzly.http.io.InputBuffer int int org.glassfish.grizzly.http.HttpContent int org.glassfish.grizzly.Buffer
StackMap stack:
iload 2
aload 5
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iadd
istore 2
13: aload 0
aload 5
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.updateInputContentBuffer:(Lorg/glassfish/grizzly/Buffer;)V
14: aload 3
invokevirtual org.glassfish.grizzly.http.HttpContent.recycle:()V
15: iload 4
ifeq 18
16: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.finished:()V
17: goto 20
end local 5 end local 4 end local 3 18: StackMap locals:
StackMap stack:
iload 1
iconst_m1
if_icmpeq 19
iload 2
iload 1
if_icmpge 20
StackMap locals:
StackMap stack:
19: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
invokevirtual org.glassfish.grizzly.http.HttpHeader.isExpectContent:()Z
ifne 2
20: StackMap locals:
StackMap stack:
iload 2
ifgt 21
iload 1
ifne 22
21: StackMap locals:
StackMap stack:
iload 2
ireturn
22: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 23 1 requestedLen I
1 23 2 read I
3 18 3 c Lorg/glassfish/grizzly/http/HttpContent;
4 18 4 isLast Z
6 7 5 b Lorg/glassfish/grizzly/Buffer;
12 18 5 b Lorg/glassfish/grizzly/Buffer;
8 12 6 e Lorg/glassfish/grizzly/http/HttpBrokenContentException;
9 12 7 cause Ljava/lang/Throwable;
Exception table:
from to target type
5 6 7 Class org.glassfish.grizzly.http.HttpBrokenContentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
requestedLen final
private int fillChars(int, java.nio.CharBuffer);
descriptor: (ILjava/nio/CharBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=13, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
if_acmpeq 4
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 4
2: aload 2
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.get:()C
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
3: iconst_1
istore 3
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifeq 6
5: iload 3
aload 0
iload 1
iload 3
isub
aload 2
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.fillAvailableChars:(ILjava/nio/CharBuffer;)I
iadd
istore 3
6: StackMap locals:
StackMap stack:
iload 3
iload 1
if_icmplt 9
7: aload 2
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
pop
8: iload 3
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
invokevirtual org.glassfish.grizzly.http.HttpHeader.isExpectContent:()Z
ifne 14
10: aload 2
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
pop
11: iload 3
ifle 12
iload 3
goto 13
StackMap locals:
StackMap stack:
12: iconst_m1
StackMap locals:
StackMap stack: int
13: ireturn
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.getDecoder:()Ljava/nio/charset/CharsetDecoder;
astore 4
start local 4 15: iconst_0
istore 5
start local 5 16: iconst_0
istore 6
start local 6 17: goto 40
18: StackMap locals: java.nio.charset.CharsetDecoder int int
StackMap stack:
iload 5
ifne 19
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 24
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.blockingRead:()Lorg/glassfish/grizzly/http/HttpContent;
astore 7
start local 7 20: aload 0
aload 7
invokevirtual org.glassfish.grizzly.http.HttpContent.getContent:()Lorg/glassfish/grizzly/Buffer;
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.updateInputContentBuffer:(Lorg/glassfish/grizzly/Buffer;)V
21: aload 7
invokevirtual org.glassfish.grizzly.http.HttpContent.isLast:()Z
istore 6
22: aload 7
invokevirtual org.glassfish.grizzly.http.HttpContent.recycle:()V
23: iconst_0
istore 5
end local 7 24: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.toByteBuffer:()Ljava/nio/ByteBuffer;
astore 7
start local 7 25: aload 7
invokevirtual java.nio.ByteBuffer.position:()I
istore 8
start local 8 26: aload 2
invokevirtual java.nio.CharBuffer.position:()I
istore 9
start local 9 27: aload 4
aload 7
aload 2
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
astore 10
start local 10 28: aload 2
invokevirtual java.nio.CharBuffer.position:()I
iload 9
isub
istore 11
start local 11 29: aload 7
invokevirtual java.nio.ByteBuffer.position:()I
iload 8
isub
istore 12
start local 12 30: iload 3
iload 11
iadd
istore 3
31: iload 12
ifle 37
32: aload 7
iload 8
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
33: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 12
iadd
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
34: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
iconst_m1
if_icmpne 38
35: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
36: goto 38
37: StackMap locals: org.glassfish.grizzly.http.io.InputBuffer int java.nio.CharBuffer int java.nio.charset.CharsetDecoder int int java.nio.ByteBuffer int int java.nio.charset.CoderResult int int
StackMap stack:
iconst_1
istore 5
38: StackMap locals:
StackMap stack:
iload 6
ifne 41
aload 10
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
if_acmpne 40
39: goto 41
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 40: StackMap locals: org.glassfish.grizzly.http.io.InputBuffer int java.nio.CharBuffer int java.nio.charset.CharsetDecoder int int
StackMap stack:
iload 3
iload 1
if_icmpge 41
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.httpHeader:Lorg/glassfish/grizzly/http/HttpHeader;
invokevirtual org.glassfish.grizzly.http.HttpHeader.isExpectContent:()Z
ifne 18
41: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
pop
42: iload 6
ifeq 44
iload 3
ifne 44
43: iconst_m1
istore 3
44: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 6 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 45 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 45 1 requestedLen I
0 45 2 dst Ljava/nio/CharBuffer;
1 45 3 read I
15 45 4 decoderLocal Ljava/nio/charset/CharsetDecoder;
16 45 5 isNeedMoreInput Z
17 45 6 last Z
20 24 7 c Lorg/glassfish/grizzly/http/HttpContent;
25 40 7 bytes Ljava/nio/ByteBuffer;
26 40 8 bytesPos I
27 40 9 dstPos I
28 40 10 result Ljava/nio/charset/CoderResult;
29 40 11 producedChars I
30 40 12 consumedBytes I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
requestedLen final
dst final
private int fillAvailableChars(int, java.nio.CharBuffer);
descriptor: (ILjava/nio/CharBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.getDecoder:()Ljava/nio/charset/CharsetDecoder;
astore 3
start local 3 1: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.toByteBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
istore 5
start local 5 3: iconst_0
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: iload 1
istore 11
start local 11 6: StackMap locals: org.glassfish.grizzly.http.io.InputBuffer int java.nio.CharBuffer java.nio.charset.CharsetDecoder java.nio.ByteBuffer int int int top top top int
StackMap stack:
aload 2
invokevirtual java.nio.CharBuffer.position:()I
istore 12
start local 12 7: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
start local 13 8: aload 3
aload 4
aload 2
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
astore 10
start local 10 9: aload 2
invokevirtual java.nio.CharBuffer.position:()I
iload 12
isub
istore 8
start local 8 10: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
iload 13
isub
istore 9
start local 9 11: iload 6
iload 8
iadd
istore 6
12: iload 7
iload 9
iadd
istore 7
13: iload 11
iload 8
isub
istore 11
end local 13 end local 12 14: iload 11
ifle 16
iload 8
ifgt 15
iload 9
ifle 16
StackMap locals: org.glassfish.grizzly.http.io.InputBuffer int java.nio.CharBuffer java.nio.charset.CharsetDecoder java.nio.ByteBuffer int int int int int java.nio.charset.CoderResult int
StackMap stack:
15: aload 4
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 16
aload 10
getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
if_acmpeq 6
16: StackMap locals:
StackMap stack:
aload 4
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
17: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 7
iadd
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
18: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
iconst_m1
if_icmpne 20
19: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
20: StackMap locals:
StackMap stack:
iload 6
ireturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 21 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 21 1 requestedLen I
0 21 2 dst Ljava/nio/CharBuffer;
1 21 3 decoderLocal Ljava/nio/charset/CharsetDecoder;
2 21 4 bb Ljava/nio/ByteBuffer;
3 21 5 oldBBPos I
4 21 6 producedChars I
5 21 7 consumedBytes I
10 21 8 producedCharsNow I
11 21 9 consumedBytesNow I
9 21 10 result Ljava/nio/charset/CoderResult;
6 21 11 remaining I
7 14 12 charPos I
8 14 13 bbPos I
MethodParameters:
Name Flags
requestedLen final
dst final
protected void updateInputContentBuffer(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
invokeinterface org.glassfish.grizzly.Buffer.allowBufferDispose:(Z)V
1: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
ifnonnull 4
2: aload 0
aload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
3: goto 9
StackMap locals:
StackMap stack:
4: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 5
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
ifle 7
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.io.InputBuffer.toCompositeInputContentBuffer:()Lorg/glassfish/grizzly/memory/CompositeBuffer;
aload 1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.tryDispose:()Z
pop
8: aload 0
aload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 10 1 buffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
buffer final
private static boolean shouldNotifyNow(int, int);
descriptor: (II)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
iload 1
iload 0
if_icmplt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 size I
0 2 1 available I
MethodParameters:
Name Flags
size final
available final
private java.nio.charset.CharsetDecoder getDecoder();
descriptor: ()Ljava/nio/charset/CharsetDecoder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
ifnonnull 10
1: aload 0
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoders:Ljava/util/Map;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.encoding:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.charset.CharsetDecoder
putfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
2: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
ifnonnull 9
3: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.encoding:Ljava/lang/String;
invokestatic org.glassfish.grizzly.utils.Charsets.lookupCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
astore 1
start local 1 4: aload 0
aload 1
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
putfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
5: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
pop
6: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
pop
7: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoders:Ljava/util/Map;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.encoding:Ljava/lang/String;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.decoder:Ljava/nio/charset/CharsetDecoder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
4 8 1 cs Ljava/nio/charset/Charset;
private org.glassfish.grizzly.memory.CompositeBuffer toCompositeInputContentBuffer();
descriptor: ()Lorg/glassfish/grizzly/memory/CompositeBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifne 12
1: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.connection:Lorg/glassfish/grizzly/Connection;
invokeinterface org.glassfish.grizzly.Connection.getMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
invokestatic org.glassfish.grizzly.memory.CompositeBuffer.newBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
astore 1
start local 1 2: aload 1
iconst_1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowBufferDispose:(Z)V
3: aload 1
iconst_1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowInternalBuffersDispose:(Z)V
4: iconst_0
istore 2
start local 2 5: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
ifle 9
6: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokeinterface org.glassfish.grizzly.Buffer.position:()I
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
isub
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
7: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
istore 2
8: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.markPos:I
9: StackMap locals: org.glassfish.grizzly.memory.CompositeBuffer int
StackMap stack:
aload 1
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
10: aload 1
iload 2
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
11: aload 0
aload 1
putfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
end local 2 end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.inputContentBuffer:Lorg/glassfish/grizzly/Buffer;
checkcast org.glassfish.grizzly.memory.CompositeBuffer
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
2 12 1 compositeBuffer Lorg/glassfish/grizzly/memory/CompositeBuffer;
5 12 2 posAlign I
private boolean checkMarkAfterRead(long);
descriptor: (J)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifle 7
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
iconst_m1
if_icmpeq 7
1: aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
i2l
lload 1
ladd
aload 0
getfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
i2l
lcmp
ifgt 4
2: aload 0
dup
getfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
i2l
lload 1
ladd
l2i
putfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.readAheadLimit:I
5: aload 0
iconst_m1
putfield org.glassfish.grizzly.http.io.InputBuffer.markPos:I
6: aload 0
iconst_0
putfield org.glassfish.grizzly.http.io.InputBuffer.readCount:I
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/io/InputBuffer;
0 8 1 n J
MethodParameters:
Name Flags
n final
private static void checkHttpTrailer(org.glassfish.grizzly.http.HttpContent);
descriptor: (Lorg/glassfish/grizzly/http/HttpContent;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokestatic org.glassfish.grizzly.http.HttpTrailer.isTrailer:(Lorg/glassfish/grizzly/http/HttpContent;)Z
ifeq 11
1: aload 0
checkcast org.glassfish.grizzly.http.HttpTrailer
astore 1
start local 1 2: aload 0
invokevirtual org.glassfish.grizzly.http.HttpContent.getHttpHeader:()Lorg/glassfish/grizzly/http/HttpHeader;
astore 2
start local 2 3: aload 2
invokevirtual org.glassfish.grizzly.http.HttpHeader.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.mark:()V
4: aload 1
invokevirtual org.glassfish.grizzly.http.HttpTrailer.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
astore 3
start local 3 5: aload 3
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.size:()I
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 10
8: StackMap locals: org.glassfish.grizzly.http.HttpContent org.glassfish.grizzly.http.HttpTrailer org.glassfish.grizzly.http.HttpHeader org.glassfish.grizzly.http.util.MimeHeaders int int
StackMap stack:
aload 2
aload 3
iload 5
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getName:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
aload 3
iload 5
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getValue:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.HttpHeader.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 4
if_icmplt 8
end local 5 end local 4 end local 3 end local 2 end local 1 11: StackMap locals: org.glassfish.grizzly.http.HttpContent
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 httpContent Lorg/glassfish/grizzly/http/HttpContent;
2 11 1 httpTrailer Lorg/glassfish/grizzly/http/HttpTrailer;
3 11 2 httpHeader Lorg/glassfish/grizzly/http/HttpHeader;
5 11 3 trailerHeaders Lorg/glassfish/grizzly/http/util/MimeHeaders;
6 11 4 size I
7 11 5 i I
MethodParameters:
Name Flags
httpContent final
private static void log(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 1: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 4
2: getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
aload 2
new java.lang.Exception
dup
ldc "Logged at"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER:Ljava/util/logging/Logger;
getstatic org.glassfish.grizzly.http.io.InputBuffer.LOGGER_LEVEL:Ljava/util/logging/Level;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 message Ljava/lang/String;
0 6 1 params [Ljava/lang/Object;
1 6 2 preparedMsg Ljava/lang/String;
MethodParameters:
Name Flags
message final
params
}
SourceFile: "InputBuffer.java"
NestMembers:
org.glassfish.grizzly.http.io.InputBuffer$1 org.glassfish.grizzly.http.io.InputBuffer$2 org.glassfish.grizzly.http.io.InputBuffer$3
InnerClasses:
org.glassfish.grizzly.http.io.InputBuffer$1
org.glassfish.grizzly.http.io.InputBuffer$2
org.glassfish.grizzly.http.io.InputBuffer$3