public class org.glassfish.grizzly.http.util.B2CConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.util.B2CConverter
super_class: java.lang.Object
{
private static final boolean IS_OLD_IO_MODE;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int MAX_NUMBER_OF_BYTES_PER_CHARACTER;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private java.nio.charset.CharsetDecoder decoder;
descriptor: Ljava/nio/charset/CharsetDecoder;
flags: (0x0002) ACC_PRIVATE
private final java.nio.ByteBuffer remainder;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.glassfish.grizzly.http.util.B2CConverterBlocking blockingConverter;
descriptor: Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
ldc Lorg/glassfish/grizzly/http/util/B2CConverter;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".blockingMode"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic org.glassfish.grizzly.http.util.B2CConverter.IS_OLD_IO_MODE:Z
1: ldc Lorg/glassfish/grizzly/http/util/B2CConverter;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.util.B2CConverter.logger:Ljava/util/logging/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 16
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
2: aload 0
ldc "US-ASCII"
invokevirtual org.glassfish.grizzly.http.util.B2CConverter.init:(Ljava/lang/String;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/util/B2CConverter;
public void <init>(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
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 16
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
2: aload 0
aload 1
invokevirtual org.glassfish.grizzly.http.util.B2CConverter.init:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/util/B2CConverter;
0 4 1 encoding Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoding
protected void init(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.http.util.B2CConverter.IS_OLD_IO_MODE:Z
ifeq 5
1: aload 0
new org.glassfish.grizzly.http.util.B2CConverterBlocking
dup
aload 1
invokespecial org.glassfish.grizzly.http.util.B2CConverterBlocking.<init>:(Ljava/lang/String;)V
putfield org.glassfish.grizzly.http.util.B2CConverter.blockingConverter:Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
2: goto 7
StackMap locals:
StackMap stack: java.io.IOException
3: pop
4: new java.lang.IllegalStateException
dup
ldc "Can not initialize blocking converter"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
invokestatic org.glassfish.grizzly.utils.Charsets.lookupCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
astore 2
start local 2 6: aload 0
aload 2
invokevirtual java.nio.charset.Charset.newDecoder:()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;
getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
putfield org.glassfish.grizzly.http.util.B2CConverter.decoder:Ljava/nio/charset/CharsetDecoder;
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http/util/B2CConverter;
0 8 1 encoding Ljava/lang/String;
6 7 2 charset Ljava/nio/charset/Charset;
Exception table:
from to target type
1 2 3 Class java.io.IOException
MethodParameters:
Name Flags
encoding
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.util.B2CConverter.IS_OLD_IO_MODE:Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.blockingConverter:Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
invokevirtual org.glassfish.grizzly.http.util.B2CConverterBlocking.recycle:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/B2CConverter;
public void convert(org.glassfish.grizzly.http.util.ByteChunk, org.glassfish.grizzly.http.util.CharChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/ByteChunk;Lorg/glassfish/grizzly/http/util/CharChunk;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getBuffer:()[C
arraylength
aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getEnd:()I
isub
invokevirtual org.glassfish.grizzly.http.util.B2CConverter.convert:(Lorg/glassfish/grizzly/http/util/ByteChunk;Lorg/glassfish/grizzly/http/util/CharChunk;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/util/B2CConverter;
0 2 1 bb Lorg/glassfish/grizzly/http/util/ByteChunk;
0 2 2 cb Lorg/glassfish/grizzly/http/util/CharChunk;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bb
cb
public void convert(org.glassfish.grizzly.http.util.ByteChunk, org.glassfish.grizzly.http.util.CharChunk, int);
descriptor: (Lorg/glassfish/grizzly/http/util/ByteChunk;Lorg/glassfish/grizzly/http/util/CharChunk;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.glassfish.grizzly.http.util.B2CConverter.IS_OLD_IO_MODE:Z
ifeq 3
1: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.blockingConverter:Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
aload 1
aload 2
iload 3
invokevirtual org.glassfish.grizzly.http.util.B2CConverterBlocking.convert:(Lorg/glassfish/grizzly/http/util/ByteChunk;Lorg/glassfish/grizzly/http/util/CharChunk;I)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getEnd:()I
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
isub
istore 4
start local 4 4: iload 3
iload 4
if_icmple 6
5: iload 4
istore 3
6: StackMap locals: int
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
astore 5
start local 5 7: aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
istore 6
start local 6 8: aload 5
iload 6
iload 3
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
astore 7
start local 7 9: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getBuffer:()[C
astore 8
start local 8 10: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getEnd:()I
istore 9
start local 9 11: aload 8
arraylength
iload 9
isub
istore 10
start local 10 12: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getLimit:()I
istore 11
start local 11 13: iload 10
iload 3
if_icmpge 17
iload 11
iflt 14
iload 11
aload 8
arraylength
if_icmple 17
14: StackMap locals: org.glassfish.grizzly.http.util.B2CConverter org.glassfish.grizzly.http.util.ByteChunk org.glassfish.grizzly.http.util.CharChunk int int byte[] int java.nio.ByteBuffer char[] int int int
StackMap stack:
aload 2
iload 3
invokevirtual org.glassfish.grizzly.http.util.CharChunk.makeSpace:(I)V
15: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getBuffer:()[C
astore 8
16: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getEnd:()I
istore 9
17: StackMap locals:
StackMap stack:
aload 8
iload 9
aload 8
arraylength
iload 9
isub
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
astore 12
start local 12 18: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
ifle 20
19: aload 0
aload 7
aload 12
invokevirtual org.glassfish.grizzly.http.util.B2CConverter.flushRemainder:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)V
20: StackMap locals: java.nio.CharBuffer
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.decoder:Ljava/nio/charset/CharsetDecoder;
aload 7
aload 12
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
astore 13
start local 13 21: aload 2
aload 12
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual org.glassfish.grizzly.http.util.CharChunk.setEnd:(I)V
22: goto 29
23: StackMap locals: java.nio.charset.CoderResult
StackMap stack:
aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.flushBuffer:()V
24: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getEnd:()I
istore 9
25: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getBuffer:()[C
astore 8
26: aload 8
iload 9
aload 8
arraylength
iload 9
isub
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
astore 12
27: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.decoder:Ljava/nio/charset/CharsetDecoder;
aload 7
aload 12
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
astore 13
28: aload 2
aload 12
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual org.glassfish.grizzly.http.util.CharChunk.setEnd:(I)V
29: StackMap locals:
StackMap stack:
aload 13
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
if_acmpeq 23
30: aload 1
aload 7
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.setStart:(I)V
31: aload 7
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 33
32: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
aload 7
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
33: StackMap locals:
StackMap stack:
aload 13
getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
if_acmpeq 41
34: new java.io.IOException
dup
ldc "Encoding error"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 35: StackMap locals: org.glassfish.grizzly.http.util.B2CConverter org.glassfish.grizzly.http.util.ByteChunk org.glassfish.grizzly.http.util.CharChunk int
StackMap stack: java.io.IOException
astore 4
start local 4 36: iconst_0
istore 5
start local 5 37: iload 5
ifle 39
38: aload 0
new java.lang.StringBuilder
dup
ldc "B2CConverter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.util.B2CConverter.log:(Ljava/lang/String;)V
39: StackMap locals: java.io.IOException int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.decoder:Ljava/nio/charset/CharsetDecoder;
invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
pop
40: aload 4
athrow
end local 5 end local 4 41: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/glassfish/grizzly/http/util/B2CConverter;
0 42 1 bb Lorg/glassfish/grizzly/http/util/ByteChunk;
0 42 2 cb Lorg/glassfish/grizzly/http/util/CharChunk;
0 42 3 limit I
4 35 4 bbAvailable I
7 35 5 barr [B
8 35 6 boff I
9 35 7 tmp_bb Ljava/nio/ByteBuffer;
10 35 8 carr [C
11 35 9 coff I
12 35 10 remain I
13 35 11 cbLimit I
18 35 12 tmp_cb Ljava/nio/CharBuffer;
21 35 13 cr Ljava/nio/charset/CoderResult;
36 41 4 ex Ljava/io/IOException;
37 41 5 debug I
Exception table:
from to target type
3 35 35 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bb
cb
limit
public static void convertASCII(org.glassfish.grizzly.http.util.MessageBytes);
descriptor: (Lorg/glassfish/grizzly/http/util/MessageBytes;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.util.B2CConverter.IS_OLD_IO_MODE:Z
ifeq 3
1: aload 0
invokestatic org.glassfish.grizzly.http.util.B2CConverterBlocking.convertASCII:(Lorg/glassfish/grizzly/http/util/MessageBytes;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.MessageBytes.getType:()I
iconst_2
if_icmpeq 5
4: return
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.MessageBytes.getByteChunk:()Lorg/glassfish/grizzly/http/util/ByteChunk;
astore 1
start local 1 6: aload 0
invokevirtual org.glassfish.grizzly.http.util.MessageBytes.getCharChunk:()Lorg/glassfish/grizzly/http/util/CharChunk;
astore 2
start local 2 7: aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
istore 3
start local 3 8: aload 2
iload 3
iconst_m1
invokevirtual org.glassfish.grizzly.http.util.CharChunk.allocate:(II)V
9: aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
astore 4
start local 4 10: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getBuffer:()[C
astore 5
start local 5 11: aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
istore 6
start local 6 12: iconst_0
istore 7
start local 7 13: goto 16
14: StackMap locals: org.glassfish.grizzly.http.util.MessageBytes org.glassfish.grizzly.http.util.ByteChunk org.glassfish.grizzly.http.util.CharChunk int byte[] char[] int int
StackMap stack:
aload 5
iload 7
aload 4
iload 7
iload 6
iadd
baload
sipush 255
iand
i2c
castore
15: iinc 7 1
StackMap locals:
StackMap stack:
16: iload 7
iload 3
if_icmplt 14
end local 7 17: aload 0
aload 5
iconst_0
iload 3
invokevirtual org.glassfish.grizzly.http.util.MessageBytes.setChars:([CII)V
18: return
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 19 0 mb Lorg/glassfish/grizzly/http/util/MessageBytes;
6 19 1 bc Lorg/glassfish/grizzly/http/util/ByteChunk;
7 19 2 cc Lorg/glassfish/grizzly/http/util/CharChunk;
8 19 3 length I
10 19 4 bbuf [B
11 19 5 cbuf [C
12 19 6 start I
13 17 7 i I
MethodParameters:
Name Flags
mb
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.glassfish.grizzly.http.util.B2CConverter.IS_OLD_IO_MODE:Z
ifeq 3
1: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.blockingConverter:Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
invokevirtual org.glassfish.grizzly.http.util.B2CConverterBlocking.reset:()V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.decoder:Ljava/nio/charset/CharsetDecoder;
ifnull 6
4: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.decoder:Ljava/nio/charset/CharsetDecoder;
invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
pop
5: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/util/B2CConverter;
Exceptions:
throws java.io.IOException
void log(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.glassfish.grizzly.http.util.B2CConverter.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 2
1: getstatic org.glassfish.grizzly.http.util.B2CConverter.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "B2CConverter: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
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/http/util/B2CConverter;
0 3 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private void flushRemainder(java.nio.ByteBuffer, java.nio.CharBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: goto 10
1: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.get:()B
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
3: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.decoder:Ljava/nio/charset/CharsetDecoder;
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
aload 2
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
astore 3
start local 3 4: aload 3
getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
if_acmpne 6
5: new java.lang.IllegalStateException
dup
ldc "CharChunk is not big enough"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.nio.charset.CoderResult
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 9
7: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
end local 3 10: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverter.remainder:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
ifle 11
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 1
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http/util/B2CConverter;
0 12 1 tmp_bb Ljava/nio/ByteBuffer;
0 12 2 tmp_cb Ljava/nio/CharBuffer;
4 10 3 cr Ljava/nio/charset/CoderResult;
MethodParameters:
Name Flags
tmp_bb
tmp_cb
}
SourceFile: "B2CConverter.java"