public abstract class org.glassfish.grizzly.streams.AbstractStreamReader implements org.glassfish.grizzly.streams.StreamReader
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.glassfish.grizzly.streams.AbstractStreamReader
super_class: java.lang.Object
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final org.glassfish.grizzly.Connection connection;
descriptor: Lorg/glassfish/grizzly/Connection;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.glassfish.grizzly.streams.Input input;
descriptor: Lorg/glassfish/grizzly/streams/Input;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.concurrent.atomic.AtomicBoolean isClosed;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/streams/AbstractStreamReader;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.streams.AbstractStreamReader.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
private static void msg(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.streams.AbstractStreamReader.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
ldc "READERSTREAM:DEBUG:{0}"
aload 0
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg final
private static void displayBuffer(java.lang.String, org.glassfish.grizzly.Buffer);
descriptor: (Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.glassfish.grizzly.streams.AbstractStreamReader.msg:(Ljava/lang/String;)V
1: new java.lang.StringBuilder
dup
ldc "\tposition() = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.grizzly.streams.AbstractStreamReader.msg:(Ljava/lang/String;)V
2: new java.lang.StringBuilder
dup
ldc "\tlimit() = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.grizzly.streams.AbstractStreamReader.msg:(Ljava/lang/String;)V
3: new java.lang.StringBuilder
dup
ldc "\tcapacity() = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.glassfish.grizzly.Buffer.capacity:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.grizzly.streams.AbstractStreamReader.msg:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 str Ljava/lang/String;
0 5 1 wrapper Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
str final
wrapper final
protected void <init>(org.glassfish.grizzly.Connection, org.glassfish.grizzly.streams.Input);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/streams/Input;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
putfield org.glassfish.grizzly.streams.AbstractStreamReader.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
aload 2
putfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
3: aload 0
aload 1
putfield org.glassfish.grizzly.streams.AbstractStreamReader.connection:Lorg/glassfish/grizzly/Connection;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 5 1 connection Lorg/glassfish/grizzly/Connection;
0 5 2 streamInput Lorg/glassfish/grizzly/streams/Input;
MethodParameters:
Name Flags
connection
streamInput
public boolean readBoolean();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readByte:()B
iconst_1
if_icmpne 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/streams/AbstractStreamReader;
Exceptions:
throws java.io.IOException
public byte readByte();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.read:()B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
Exceptions:
throws java.io.IOException
public char readChar();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ifeq 6
1: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 1
start local 1 2: aload 1
ifnull 6
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iconst_2
if_icmplt 6
3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.getChar:()C
istore 2
start local 2 4: aload 1
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
5: iload 2
ireturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readByte:()B
sipush 255
iand
bipush 8
ishl
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readByte:()B
sipush 255
iand
ior
i2c
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
2 6 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 result C
Exceptions:
throws java.io.IOException
public short readShort();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ifeq 6
1: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 1
start local 1 2: aload 1
ifnull 6
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iconst_2
if_icmplt 6
3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.getShort:()S
istore 2
start local 2 4: aload 1
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
5: iload 2
ireturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readByte:()B
sipush 255
iand
bipush 8
ishl
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readByte:()B
sipush 255
iand
ior
i2s
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
2 6 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 result S
Exceptions:
throws java.io.IOException
public int readInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ifeq 6
1: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 1
start local 1 2: aload 1
ifnull 6
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iconst_4
if_icmplt 6
3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.getInt:()I
istore 2
start local 2 4: aload 1
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
5: iload 2
ireturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readShort:()S
ldc 65535
iand
bipush 16
ishl
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readShort:()S
ldc 65535
iand
ior
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
2 6 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 result I
Exceptions:
throws java.io.IOException
public long readLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ifeq 6
1: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 1
start local 1 2: aload 1
ifnull 6
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
bipush 8
if_icmplt 6
3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.getLong:()J
lstore 2
start local 2 4: aload 1
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
5: lload 2
lreturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readInt:()I
i2l
ldc 4294967295
land
bipush 32
lshl
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readInt:()I
i2l
ldc 4294967295
land
lor
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
2 6 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 result J
Exceptions:
throws java.io.IOException
public final float readFloat();
descriptor: ()F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ifeq 6
1: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 1
start local 1 2: aload 1
ifnull 6
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iconst_4
if_icmplt 6
3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.getFloat:()F
fstore 2
start local 2 4: aload 1
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
5: fload 2
freturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readInt:()I
invokestatic java.lang.Float.intBitsToFloat:(I)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
2 6 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 result F
Exceptions:
throws java.io.IOException
public final double readDouble();
descriptor: ()D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ifeq 6
1: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 1
start local 1 2: aload 1
ifnull 6
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
bipush 8
if_icmplt 6
3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.getDouble:()D
dstore 2
start local 2 4: aload 1
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
5: dload 2
dreturn
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readLong:()J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
2 6 1 buffer Lorg/glassfish/grizzly/Buffer;
4 6 2 result D
Exceptions:
throws java.io.IOException
private void arraySizeCheck(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.available:()I
if_icmple 2
1: new java.nio.BufferUnderflowException
dup
invokespecial java.nio.BufferUnderflowException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 3 1 sizeInBytes I
MethodParameters:
Name Flags
sizeInBytes final
public void readBooleanArray(boolean[]);
descriptor: ([Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
arraylength
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readBoolean:()Z
bastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 7 1 data [Z
2 6 2 ctr I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
public void readByteArray(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readByteArray:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 2 1 data [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data final
public void readByteArray(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
1: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ifeq 6
2: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 3: aload 4
aload 1
iload 2
iload 3
invokeinterface org.glassfish.grizzly.Buffer.get:([BII)Lorg/glassfish/grizzly/Buffer;
pop
4: aload 4
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
end local 4 5: goto 11
6: StackMap locals:
StackMap stack:
iload 2
istore 4
start local 4 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 1
iload 4
aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.read:()B
bastore
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 3
if_icmplt 8
end local 4 11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 12 1 data [B
0 12 2 offset I
0 12 3 length I
3 5 4 buffer Lorg/glassfish/grizzly/Buffer;
7 11 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
offset
length
public void readBytes(org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
3: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ifeq 16
4: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 2
start local 2 5: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
aload 2
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
isub
istore 3
start local 3 6: iload 3
iflt 9
7: aload 1
aload 2
invokeinterface org.glassfish.grizzly.Buffer.put:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
pop
8: goto 13
9: StackMap locals: org.glassfish.grizzly.Buffer int
StackMap stack:
aload 2
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
istore 4
start local 4 10: aload 2
iload 4
iload 3
iadd
invokeinterface org.glassfish.grizzly.Buffer.limit:(I)Lorg/glassfish/grizzly/Buffer;
pop
11: aload 1
aload 2
invokeinterface org.glassfish.grizzly.Buffer.put:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
pop
12: aload 2
iload 4
invokeinterface org.glassfish.grizzly.Buffer.limit:(I)Lorg/glassfish/grizzly/Buffer;
pop
end local 4 13: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.glassfish.grizzly.Buffer.shrink:()V
end local 3 end local 2 14: goto 17
15: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.read:()B
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
16: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 15
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 18 1 buffer Lorg/glassfish/grizzly/Buffer;
5 14 2 inputBuffer Lorg/glassfish/grizzly/Buffer;
6 14 3 diff I
10 13 4 save I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer final
public void readCharArray(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_2
aload 1
arraylength
imul
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readChar:()C
castore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 7 1 data [C
2 6 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data final
public void readShortArray(short[]);
descriptor: ([S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_2
aload 1
arraylength
imul
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readShort:()S
sastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 7 1 data [S
2 6 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data final
public void readIntArray(int[]);
descriptor: ([I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_4
aload 1
arraylength
imul
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readInt:()I
iastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 7 1 data [I
2 6 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data final
public void readLongArray(long[]);
descriptor: ([J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 8
aload 1
arraylength
imul
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readLong:()J
lastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 7 1 data [J
2 6 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data final
public void readFloatArray(float[]);
descriptor: ([F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_4
aload 1
arraylength
imul
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readFloat:()F
fastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 7 1 data [F
2 6 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data final
public void readDoubleArray(double[]);
descriptor: ([D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 8
aload 1
arraylength
imul
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.arraySizeCheck:(I)V
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.readDouble:()D
dastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 7 1 data [D
2 6 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data final
public void skip(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
iload 1
invokeinterface org.glassfish.grizzly.streams.Input.skip:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 2 1 length I
MethodParameters:
Name Flags
length
public <E> org.glassfish.grizzly.GrizzlyFuture<E> decode(org.glassfish.grizzly.Transformer<org.glassfish.grizzly.streams.Stream, E>);
descriptor: (Lorg/glassfish/grizzly/Transformer;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.decode:(Lorg/glassfish/grizzly/Transformer;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 1 1 decoder Lorg/glassfish/grizzly/Transformer<Lorg/glassfish/grizzly/streams/Stream;TE;>;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/Transformer<Lorg/glassfish/grizzly/streams/Stream;TE;>;)Lorg/glassfish/grizzly/GrizzlyFuture<TE;>;
MethodParameters:
Name Flags
decoder
public <E> org.glassfish.grizzly.GrizzlyFuture<E> decode(org.glassfish.grizzly.Transformer<org.glassfish.grizzly.streams.Stream, E>, org.glassfish.grizzly.CompletionHandler<E>);
descriptor: (Lorg/glassfish/grizzly/Transformer;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.glassfish.grizzly.impl.SafeFutureImpl.create:()Lorg/glassfish/grizzly/impl/SafeFutureImpl;
astore 3
start local 3 1: new org.glassfish.grizzly.streams.AbstractStreamReader$DecodeCompletionHandler
dup
aload 3
aload 2
invokespecial org.glassfish.grizzly.streams.AbstractStreamReader$DecodeCompletionHandler.<init>:(Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;)V
astore 4
start local 4 2: aload 0
new org.glassfish.grizzly.streams.StreamDecodeCondition
dup
aload 0
aload 1
aload 4
invokespecial org.glassfish.grizzly.streams.StreamDecodeCondition.<init>:(Lorg/glassfish/grizzly/streams/StreamReader;Lorg/glassfish/grizzly/Transformer;Lorg/glassfish/grizzly/utils/ResultAware;)V
aload 4
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.notifyCondition:(Lorg/glassfish/grizzly/utils/conditions/Condition;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
pop
3: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 4 1 decoder Lorg/glassfish/grizzly/Transformer<Lorg/glassfish/grizzly/streams/Stream;TE;>;
0 4 2 completionHandler Lorg/glassfish/grizzly/CompletionHandler<TE;>;
1 4 3 future Lorg/glassfish/grizzly/impl/FutureImpl<TE;>;
2 4 4 completionHandlerWrapper Lorg/glassfish/grizzly/streams/AbstractStreamReader$DecodeCompletionHandler<TE;Ljava/lang/Integer;>;
Signature: <E:Ljava/lang/Object;>(Lorg/glassfish/grizzly/Transformer<Lorg/glassfish/grizzly/streams/Stream;TE;>;Lorg/glassfish/grizzly/CompletionHandler<TE;>;)Lorg/glassfish/grizzly/GrizzlyFuture<TE;>;
MethodParameters:
Name Flags
decoder
completionHandler
public org.glassfish.grizzly.GrizzlyFuture<java.lang.Integer> notifyAvailable(int);
descriptor: (I)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aconst_null
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.notifyAvailable:(ILorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 1 1 size I
Signature: (I)Lorg/glassfish/grizzly/GrizzlyFuture<Ljava/lang/Integer;>;
MethodParameters:
Name Flags
size
public org.glassfish.grizzly.GrizzlyFuture<java.lang.Integer> notifyAvailable(int, org.glassfish.grizzly.CompletionHandler<java.lang.Integer>);
descriptor: (ILorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new org.glassfish.grizzly.streams.AbstractStreamReader$1
dup
aload 0
iload 1
invokespecial org.glassfish.grizzly.streams.AbstractStreamReader$1.<init>:(Lorg/glassfish/grizzly/streams/AbstractStreamReader;I)V
1: aload 2
2: invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.notifyCondition:(Lorg/glassfish/grizzly/utils/conditions/Condition;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 3 1 size I
0 3 2 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
Signature: (ILorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;)Lorg/glassfish/grizzly/GrizzlyFuture<Ljava/lang/Integer;>;
MethodParameters:
Name Flags
size final
completionHandler
public org.glassfish.grizzly.GrizzlyFuture<java.lang.Integer> notifyCondition(org.glassfish.grizzly.utils.conditions.Condition);
descriptor: (Lorg/glassfish/grizzly/utils/conditions/Condition;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.notifyCondition:(Lorg/glassfish/grizzly/utils/conditions/Condition;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 1 1 condition Lorg/glassfish/grizzly/utils/conditions/Condition;
Signature: (Lorg/glassfish/grizzly/utils/conditions/Condition;)Lorg/glassfish/grizzly/GrizzlyFuture<Ljava/lang/Integer;>;
MethodParameters:
Name Flags
condition
public synchronized org.glassfish.grizzly.GrizzlyFuture<java.lang.Integer> notifyCondition(org.glassfish.grizzly.utils.conditions.Condition, org.glassfish.grizzly.CompletionHandler<java.lang.Integer>);
descriptor: (Lorg/glassfish/grizzly/utils/conditions/Condition;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.isClosed:()Z
ifeq 5
1: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
astore 3
start local 3 2: aload 2
ifnull 4
3: aload 2
aload 3
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
4: StackMap locals: java.io.EOFException
StackMap stack:
aload 3
invokestatic org.glassfish.grizzly.impl.ReadyFutureImpl.create:(Ljava/lang/Throwable;)Lorg/glassfish/grizzly/impl/ReadyFutureImpl;
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
aload 1
aload 2
invokeinterface org.glassfish.grizzly.streams.Input.notifyCondition:(Lorg/glassfish/grizzly/utils/conditions/Condition;Lorg/glassfish/grizzly/CompletionHandler;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
0 6 1 condition Lorg/glassfish/grizzly/utils/conditions/Condition;
0 6 2 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
2 5 3 exception Ljava/io/EOFException;
Signature: (Lorg/glassfish/grizzly/utils/conditions/Condition;Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;)Lorg/glassfish/grizzly/GrizzlyFuture<Ljava/lang/Integer;>;
MethodParameters:
Name Flags
condition final
completionHandler final
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 5
1: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
ifnull 5
2: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.close:()V
3: goto 5
StackMap locals:
StackMap stack: java.io.IOException
4: pop
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
Exception table:
from to target type
2 3 4 Class java.io.IOException
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.streams.AbstractStreamReader.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
public final boolean hasAvailable();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.streams.AbstractStreamReader.available:()I
ifle 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/streams/AbstractStreamReader;
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.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
public boolean isSupportBufferWindow();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.isBuffered:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
public org.glassfish.grizzly.Buffer getBufferWindow();
descriptor: ()Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.getBuffer:()Lorg/glassfish/grizzly/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
public org.glassfish.grizzly.Buffer takeBufferWindow();
descriptor: ()Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.input:Lorg/glassfish/grizzly/streams/Input;
invokeinterface org.glassfish.grizzly.streams.Input.takeBuffer:()Lorg/glassfish/grizzly/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
public org.glassfish.grizzly.Connection getConnection();
descriptor: ()Lorg/glassfish/grizzly/Connection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.streams.AbstractStreamReader.connection:Lorg/glassfish/grizzly/Connection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/streams/AbstractStreamReader;
}
SourceFile: "AbstractStreamReader.java"
NestMembers:
org.glassfish.grizzly.streams.AbstractStreamReader$1 org.glassfish.grizzly.streams.AbstractStreamReader$DecodeCompletionHandler
InnerClasses:
org.glassfish.grizzly.streams.AbstractStreamReader$1
private DecodeCompletionHandler = org.glassfish.grizzly.streams.AbstractStreamReader$DecodeCompletionHandler of org.glassfish.grizzly.streams.AbstractStreamReader