public class org.glassfish.grizzly.http.util.B2CConverterBlocking
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.util.B2CConverterBlocking
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 org.glassfish.grizzly.http.util.IntermediateInputStream iis;
descriptor: Lorg/glassfish/grizzly/http/util/IntermediateInputStream;
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.http.util.ReadConverter conv;
descriptor: Lorg/glassfish/grizzly/http/util/ReadConverter;
flags: (0x0002) ACC_PRIVATE
private java.lang.String encoding;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static final int BUFFER_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8192
final char[] result;
descriptor: [C
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.util.B2CConverterBlocking.logger:Ljava/util/logging/Logger;
1: 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
sipush 8192
newarray 5
putfield org.glassfish.grizzly.http.util.B2CConverterBlocking.result:[C
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
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
sipush 8192
newarray 5
putfield org.glassfish.grizzly.http.util.B2CConverterBlocking.result:[C
2: aload 0
aload 1
putfield org.glassfish.grizzly.http.util.B2CConverterBlocking.encoding:Ljava/lang/String;
3: aload 0
invokevirtual org.glassfish.grizzly.http.util.B2CConverterBlocking.reset:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
0 5 1 encoding Ljava/lang/String;
Exceptions:
throws 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: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverterBlocking.conv:Lorg/glassfish/grizzly/http/util/ReadConverter;
invokevirtual org.glassfish.grizzly.http.util.ReadConverter.recycle:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
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.B2CConverterBlocking.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/B2CConverterBlocking;
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
RuntimeVisibleAnnotations:
java.lang.Deprecated()
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=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverterBlocking.iis:Lorg/glassfish/grizzly/http/util/IntermediateInputStream;
aload 1
invokevirtual org.glassfish.grizzly.http.util.IntermediateInputStream.setByteChunk:(Lorg/glassfish/grizzly/http/util/ByteChunk;)V
1: iconst_0
istore 4
start local 4 2: goto 16
3: StackMap locals: int
StackMap stack:
iload 3
sipush 8192
if_icmpge 4
iload 3
goto 5
StackMap locals:
StackMap stack:
4: sipush 8192
StackMap locals:
StackMap stack: int
5: istore 6
start local 6 6: aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
istore 5
start local 5 7: aload 0
getfield org.glassfish.grizzly.http.util.B2CConverterBlocking.conv:Lorg/glassfish/grizzly/http/util/ReadConverter;
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverterBlocking.result:[C
iconst_0
iload 6
invokevirtual org.glassfish.grizzly.http.util.ReadConverter.read:([CII)I
istore 7
start local 7 8: iload 7
ifgt 12
9: iload 4
ifle 11
10: aload 0
ldc "EOF"
invokevirtual org.glassfish.grizzly.http.util.B2CConverterBlocking.log:(Ljava/lang/String;)V
11: StackMap locals: int int int
StackMap stack:
return
12: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmple 14
13: aload 0
new java.lang.StringBuilder
dup
ldc "Converted: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
new java.lang.String
dup
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverterBlocking.result:[C
iconst_0
iload 7
invokespecial java.lang.String.<init>:([CII)V
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.B2CConverterBlocking.log:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverterBlocking.result:[C
iconst_0
iload 7
invokevirtual org.glassfish.grizzly.http.util.CharChunk.append:([CII)V
15: iload 3
iload 5
aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
isub
isub
istore 3
end local 7 end local 6 end local 5 16: StackMap locals:
StackMap stack:
iload 3
ifgt 3
17: goto 23
StackMap locals:
StackMap stack: java.io.IOException
18: astore 5
start local 5 19: iload 4
ifle 21
20: aload 0
new java.lang.StringBuilder
dup
ldc "Resetting the converter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
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.B2CConverterBlocking.log:(Ljava/lang/String;)V
21: StackMap locals: java.io.IOException
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.B2CConverterBlocking.reset:()V
22: aload 5
athrow
end local 5 23: 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 24 0 this Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
0 24 1 bb Lorg/glassfish/grizzly/http/util/ByteChunk;
0 24 2 cb Lorg/glassfish/grizzly/http/util/CharChunk;
0 24 3 limit I
2 24 4 debug I
7 16 5 bbLengthBeforeRead I
6 16 6 size I
8 16 7 cnt I
19 23 5 ex Ljava/io/IOException;
Exception table:
from to target type
2 11 18 Class java.io.IOException
12 17 18 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: aload 0
invokevirtual org.glassfish.grizzly.http.util.MessageBytes.getType:()I
iconst_2
if_icmpeq 2
1: return
2: 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 3: aload 0
invokevirtual org.glassfish.grizzly.http.util.MessageBytes.getCharChunk:()Lorg/glassfish/grizzly/http/util/CharChunk;
astore 2
start local 2 4: aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
istore 3
start local 3 5: aload 2
iload 3
iconst_m1
invokevirtual org.glassfish.grizzly.http.util.CharChunk.allocate:(II)V
6: aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
astore 4
start local 4 7: aload 2
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getBuffer:()[C
astore 5
start local 5 8: aload 1
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
istore 6
start local 6 9: iconst_0
istore 7
start local 7 10: goto 13
11: 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
12: iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 3
if_icmplt 11
end local 7 14: aload 0
aload 5
iconst_0
iload 3
invokevirtual org.glassfish.grizzly.http.util.MessageBytes.setChars:([CII)V
15: 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 16 0 mb Lorg/glassfish/grizzly/http/util/MessageBytes;
3 16 1 bc Lorg/glassfish/grizzly/http/util/ByteChunk;
4 16 2 cc Lorg/glassfish/grizzly/http/util/CharChunk;
5 16 3 length I
7 16 4 bbuf [B
8 16 5 cbuf [C
9 16 6 start I
10 14 7 i I
MethodParameters:
Name Flags
mb
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
new org.glassfish.grizzly.http.util.IntermediateInputStream
dup
invokespecial org.glassfish.grizzly.http.util.IntermediateInputStream.<init>:()V
putfield org.glassfish.grizzly.http.util.B2CConverterBlocking.iis:Lorg/glassfish/grizzly/http/util/IntermediateInputStream;
1: aload 0
new org.glassfish.grizzly.http.util.ReadConverter
dup
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverterBlocking.iis:Lorg/glassfish/grizzly/http/util/IntermediateInputStream;
aload 0
getfield org.glassfish.grizzly.http.util.B2CConverterBlocking.encoding:Ljava/lang/String;
invokestatic org.glassfish.grizzly.utils.Charsets.lookupCharset:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokespecial org.glassfish.grizzly.http.util.ReadConverter.<init>:(Lorg/glassfish/grizzly/http/util/IntermediateInputStream;Ljava/nio/charset/Charset;)V
putfield org.glassfish.grizzly.http.util.B2CConverterBlocking.conv:Lorg/glassfish/grizzly/http/util/ReadConverter;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/util/B2CConverterBlocking;
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.B2CConverterBlocking.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.B2CConverterBlocking.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/B2CConverterBlocking;
0 3 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "B2CConverterBlocking.java"