public class org.apache.catalina.util.StandardSessionIdGenerator extends org.apache.catalina.util.SessionIdGeneratorBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.util.StandardSessionIdGenerator
super_class: org.apache.catalina.util.SessionIdGeneratorBase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.SessionIdGeneratorBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/StandardSessionIdGenerator;
public java.lang.String generateSessionId(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: bipush 16
newarray 8
astore 2
start local 2 1: aload 0
invokevirtual org.apache.catalina.util.StandardSessionIdGenerator.getSessionIdLength:()I
istore 3
start local 3 2: new java.lang.StringBuilder
dup
iconst_2
iload 3
imul
bipush 20
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 20
5: StackMap locals: org.apache.catalina.util.StandardSessionIdGenerator java.lang.String byte[] int java.lang.StringBuilder int
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.catalina.util.StandardSessionIdGenerator.getRandomBytes:([B)V
6: iconst_0
istore 6
start local 6 7: goto 18
8: StackMap locals: int
StackMap stack:
aload 2
iload 6
baload
sipush 240
iand
iconst_4
ishr
i2b
istore 7
start local 7 9: aload 2
iload 6
baload
bipush 15
iand
i2b
istore 8
start local 8 10: iload 7
bipush 10
if_icmpge 12
11: aload 4
bipush 48
iload 7
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
goto 13
12: StackMap locals: int int
StackMap stack:
aload 4
bipush 65
iload 7
bipush 10
isub
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
iload 8
bipush 10
if_icmpge 15
14: aload 4
bipush 48
iload 8
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
goto 16
15: StackMap locals:
StackMap stack:
aload 4
bipush 65
iload 8
bipush 10
isub
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
iinc 5 1
end local 8 end local 7 17: iinc 6 1
18: StackMap locals:
StackMap stack:
iload 6
aload 2
arraylength
if_icmpge 20
iload 5
iload 3
19: if_icmplt 8
end local 6 20: StackMap locals:
StackMap stack:
iload 5
iload 3
if_icmplt 5
21: aload 1
ifnull 24
aload 1
invokevirtual java.lang.String.length:()I
ifle 24
22: aload 4
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: goto 27
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.util.StandardSessionIdGenerator.getJvmRoute:()Ljava/lang/String;
astore 6
start local 6 25: aload 6
ifnull 27
aload 6
invokevirtual java.lang.String.length:()I
ifle 27
26: aload 4
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 27: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 28 0 this Lorg/apache/catalina/util/StandardSessionIdGenerator;
0 28 1 route Ljava/lang/String;
1 28 2 random [B
2 28 3 sessionIdLength I
3 28 4 buffer Ljava/lang/StringBuilder;
4 28 5 resultLenBytes I
7 20 6 j I
9 17 7 b1 B
10 17 8 b2 B
25 27 6 jvmRoute Ljava/lang/String;
MethodParameters:
Name Flags
route
}
SourceFile: "StandardSessionIdGenerator.java"