final class org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader extends org.glassfish.grizzly.http.io.NIOReader
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader
super_class: org.glassfish.grizzly.http.io.NIOReader
{
private boolean isClosed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final org.glassfish.grizzly.http.multipart.MultipartEntry multipartEntry;
descriptor: Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.glassfish.grizzly.http.io.NIOInputStream requestNIOInputStream;
descriptor: Lorg/glassfish/grizzly/http/io/NIOInputStream;
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 float averageCharsPerByte;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private final java.nio.CharBuffer singleCharBuf;
descriptor: Ljava/nio/CharBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int requestedSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.ReadHandler handler;
descriptor: Lorg/glassfish/grizzly/ReadHandler;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.glassfish.grizzly.http.multipart.MultipartEntry);
descriptor: (Lorg/glassfish/grizzly/http/multipart/MultipartEntry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.glassfish.grizzly.http.io.NIOReader.<init>:()V
1: aload 0
iconst_1
invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.singleCharBuf:Ljava/nio/CharBuffer;
2: aload 0
aload 1
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.multipartEntry:Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 4 1 multipartEntry Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
MethodParameters:
Name Flags
multipartEntry final
protected void initialize(org.glassfish.grizzly.http.io.NIOInputStream, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/http/io/NIOInputStream;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
1: aload 0
aload 2
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.encoding:Ljava/lang/String;
2: aload 0
aload 0
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.getDecoder:()Ljava/nio/charset/CharsetDecoder;
invokevirtual java.nio.charset.CharsetDecoder.averageCharsPerByte:()F
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.averageCharsPerByte:F
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 4 1 requestInputStream Lorg/glassfish/grizzly/http/io/NIOInputStream;
0 4 2 encoding Ljava/lang/String;
MethodParameters:
Name Flags
requestInputStream final
encoding final
public int read(java.nio.CharBuffer);
descriptor: (Ljava/nio/CharBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.nio.CharBuffer.capacity:()I
aload 1
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.fillChar:(ILjava/nio/CharBuffer;)I
istore 2
start local 2 1: aload 1
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/Buffer;
pop
2: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 3 1 target Ljava/nio/CharBuffer;
1 3 2 count I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target final
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.isClosed:Z
ifeq 2
1: new java.io.IOException
dup
invokespecial java.io.IOException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.singleCharBuf:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 0
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.singleCharBuf:Ljava/nio/CharBuffer;
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.read:(Ljava/nio/CharBuffer;)I
istore 1
start local 1 4: iload 1
iconst_m1
if_icmpne 6
5: iconst_m1
ireturn
6: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.singleCharBuf:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.CharBuffer.get:(I)C
istore 2
start local 2 7: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.singleCharBuf:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
8: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
4 9 1 read I
7 9 2 c C
Exceptions:
throws java.io.IOException
public int read(char[]);
descriptor: ([C)I
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.http.multipart.MultipartEntryNIOReader.read:([CII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 1 1 cbuf [C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf final
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.isClosed:Z
ifeq 2
1: new java.io.IOException
dup
invokespecial java.io.IOException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 3
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
astore 4
start local 4 5: aload 0
aload 4
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.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 6 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 6 1 cbuf [C
0 6 2 off I
0 6 3 len I
5 6 4 buf Ljava/nio/CharBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf final
off final
len final
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.isClosed:Z
ifeq 2
1: new java.io.IOException
dup
invokespecial java.io.IOException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.multipartEntry:Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntry.availableBytes:()I
i2l
lcmp
ifle 4
3: new java.lang.IllegalStateException
dup
ldc "Can not skip more bytes than available"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifge 6
5: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifne 8
7: lconst_0
lreturn
8: StackMap locals:
StackMap stack:
lload 1
l2i
invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
astore 3
start local 3 9: aload 0
lload 1
l2i
aload 3
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.fillChar:(ILjava/nio/CharBuffer;)I
iconst_m1
if_icmpne 11
10: lconst_0
lreturn
11: StackMap locals: java.nio.CharBuffer
StackMap stack:
aload 3
invokevirtual java.nio.CharBuffer.position:()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 12 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 12 1 n J
9 12 3 skipBuffer Ljava/nio/CharBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n final
public boolean ready();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.isReady:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
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: new java.io.IOException
dup
invokespecial java.io.IOException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 1 1 readAheadLimit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readAheadLimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.io.IOException
dup
invokespecial java.io.IOException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
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.multipart.MultipartEntryNIOReader.isClosed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
Exceptions:
throws java.io.IOException
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.multipart.MultipartEntryNIOReader.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/multipart/MultipartEntryNIOReader;
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=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.isClosed:Z
ifne 1
aload 0
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.isFinished:()Z
ifeq 15
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.ReadHandler.onAllDataRead:()V
2: goto 14
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 3
start local 3 4: aload 1
aload 3
invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
5: goto 11
StackMap locals: org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader org.glassfish.grizzly.ReadHandler int java.lang.Exception
StackMap stack: java.lang.Throwable
6: astore 4
7: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
invokevirtual org.glassfish.grizzly.http.io.NIOInputStream.close:()V
8: goto 10
StackMap locals: org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader org.glassfish.grizzly.ReadHandler int java.lang.Exception java.lang.Throwable
StackMap stack: java.io.IOException
9: pop
10: StackMap locals:
StackMap stack:
aload 4
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
invokevirtual org.glassfish.grizzly.http.io.NIOInputStream.close:()V
12: goto 14
StackMap locals:
StackMap stack: java.io.IOException
13: pop
end local 3 14: StackMap locals:
StackMap stack:
return
15: StackMap locals:
StackMap stack:
iload 2
aload 0
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.readyData:()I
invokestatic org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.shouldNotifyNow:(II)Z
ifeq 30
16: aload 1
invokeinterface org.glassfish.grizzly.ReadHandler.onDataAvailable:()V
17: goto 29
StackMap locals:
StackMap stack: java.lang.Exception
18: astore 3
start local 3 19: aload 1
aload 3
invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
20: goto 26
StackMap locals: org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader org.glassfish.grizzly.ReadHandler int java.lang.Exception
StackMap stack: java.lang.Throwable
21: astore 4
22: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
invokevirtual org.glassfish.grizzly.http.io.NIOInputStream.close:()V
23: goto 25
StackMap locals: org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader org.glassfish.grizzly.ReadHandler int java.lang.Exception java.lang.Throwable
StackMap stack: java.io.IOException
24: pop
25: StackMap locals:
StackMap stack:
aload 4
athrow
26: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
invokevirtual org.glassfish.grizzly.http.io.NIOInputStream.close:()V
27: goto 29
StackMap locals:
StackMap stack: java.io.IOException
28: pop
end local 3 29: StackMap locals:
StackMap stack:
return
30: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestedSize:I
31: aload 0
aload 1
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.handler:Lorg/glassfish/grizzly/ReadHandler;
32: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 33 1 handler Lorg/glassfish/grizzly/ReadHandler;
0 33 2 size I
4 14 3 ioe Ljava/lang/Exception;
19 29 3 ioe Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
4 6 6 any
7 8 9 Class java.io.IOException
11 12 13 Class java.io.IOException
16 17 18 Class java.lang.Exception
19 21 21 any
22 23 24 Class java.io.IOException
26 27 28 Class java.io.IOException
MethodParameters:
Name Flags
handler final
size 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.multipart.MultipartEntryNIOReader.multipartEntry:Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntry.isFinished:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
public int readyData();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.multipartEntry:Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntry.availableBytes:()I
i2f
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.averageCharsPerByte:F
fmul
f2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
public boolean isReady();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.readyData:()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/http/multipart/MultipartEntryNIOReader;
protected void recycle();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
1: aload 0
aconst_null
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.decoder:Ljava/nio/charset/CharsetDecoder;
2: aload 0
fconst_1
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.averageCharsPerByte:F
3: aload 0
aconst_null
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.encoding:Ljava/lang/String;
4: aload 0
aconst_null
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.handler:Lorg/glassfish/grizzly/ReadHandler;
5: aload 0
iconst_0
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.isClosed:Z
6: aload 0
iconst_0
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestedSize:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
void onDataCame();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.handler:Lorg/glassfish/grizzly/ReadHandler;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.isFinished:()Z
ifeq 5
3: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.handler:Lorg/glassfish/grizzly/ReadHandler;
invokeinterface org.glassfish.grizzly.ReadHandler.onAllDataRead:()V
4: goto 19
StackMap locals:
StackMap stack:
5: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestedSize:I
aload 0
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.readyData:()I
invokestatic org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.shouldNotifyNow:(II)Z
ifeq 19
6: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.handler:Lorg/glassfish/grizzly/ReadHandler;
invokeinterface org.glassfish.grizzly.ReadHandler.onDataAvailable:()V
7: goto 19
StackMap locals:
StackMap stack: java.lang.Exception
8: astore 1
start local 1 9: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.handler:Lorg/glassfish/grizzly/ReadHandler;
aload 1
invokeinterface org.glassfish.grizzly.ReadHandler.onError:(Ljava/lang/Throwable;)V
10: goto 16
StackMap locals: org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader java.lang.Exception
StackMap stack: java.lang.Throwable
11: astore 2
12: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
invokevirtual org.glassfish.grizzly.http.io.NIOInputStream.close:()V
13: goto 15
StackMap locals: org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader java.lang.Exception java.lang.Throwable
StackMap stack: java.io.IOException
14: pop
15: StackMap locals:
StackMap stack:
aload 2
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
invokevirtual org.glassfish.grizzly.http.io.NIOInputStream.close:()V
17: goto 19
StackMap locals:
StackMap stack: java.io.IOException
18: pop
end local 1 19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
9 19 1 e Ljava/lang/Exception;
Exception table:
from to target type
2 7 8 Class java.lang.Exception
9 11 11 any
12 13 14 Class java.io.IOException
16 17 18 Class java.io.IOException
private int fillChar(int, java.nio.CharBuffer);
descriptor: (ILjava/nio/CharBuffer;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.nio.CharBuffer.position:()I
istore 3
start local 3 1: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
invokevirtual org.glassfish.grizzly.http.io.NIOInputStream.getBuffer:()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: aload 4
invokevirtual java.nio.ByteBuffer.limit:()I
istore 6
start local 6 4: aload 4
iload 5
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.multipartEntry:Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntry.availableBytes:()I
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
5: aload 0
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.getDecoder:()Ljava/nio/charset/CharsetDecoder;
aload 4
aload 2
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
pop
6: aload 2
invokevirtual java.nio.CharBuffer.position:()I
iload 3
isub
istore 7
start local 7 7: aload 4
invokevirtual java.nio.ByteBuffer.position:()I
iload 5
isub
istore 8
start local 8 8: aload 4
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
9: aload 4
iload 6
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
10: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.requestNIOInputStream:Lorg/glassfish/grizzly/http/io/NIOInputStream;
iload 8
i2l
invokevirtual org.glassfish.grizzly.http.io.NIOInputStream.skip:(J)J
pop2
11: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.multipartEntry:Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
iload 8
ineg
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntry.addAvailableBytes:(I)V
12: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.multipartEntry:Lorg/glassfish/grizzly/http/multipart/MultipartEntry;
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntry.availableBytes:()I
ifle 14
iload 7
iload 1
if_icmpge 14
13: iload 7
aload 0
iconst_0
aload 2
invokevirtual org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.fillChar:(ILjava/nio/CharBuffer;)I
iadd
istore 7
14: StackMap locals: org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader int java.nio.CharBuffer int java.nio.ByteBuffer int int int int
StackMap stack:
iload 7
ireturn
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 15 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
0 15 1 requestedLen I
0 15 2 dst Ljava/nio/CharBuffer;
1 15 3 charPos I
2 15 4 bb Ljava/nio/ByteBuffer;
3 15 5 bbPos I
4 15 6 bbLim I
7 15 7 readChars I
8 15 8 readBytes I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
requestedLen final
dst final
private java.nio.charset.CharsetDecoder getDecoder();
descriptor: ()Ljava/nio/charset/CharsetDecoder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.decoder:Ljava/nio/charset/CharsetDecoder;
ifnonnull 5
1: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.encoding:Ljava/lang/String;
invokestatic org.glassfish.grizzly.utils.Charsets.lookupCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
putfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.decoder:Ljava/nio/charset/CharsetDecoder;
3: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.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
4: aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.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
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.multipart.MultipartEntryNIOReader.decoder:Ljava/nio/charset/CharsetDecoder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/multipart/MultipartEntryNIOReader;
2 5 1 cs Ljava/nio/charset/Charset;
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
}
SourceFile: "MultipartEntryNIOReader.java"