public class org.apache.catalina.manager.JspHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.manager.JspHelper
super_class: java.lang.Object
{
private static final java.lang.String DATE_TIME_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "yyyy-MM-dd HH:mm:ss"
private static final int HIGHEST_SPECIAL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 62
private static final char[][] specialCharactersRepresentation;
descriptor: [[C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: bipush 63
anewarray char[]
1: putstatic org.apache.catalina.manager.JspHelper.specialCharactersRepresentation:[[C
2: getstatic org.apache.catalina.manager.JspHelper.specialCharactersRepresentation:[[C
bipush 38
ldc "&"
invokevirtual java.lang.String.toCharArray:()[C
aastore
3: getstatic org.apache.catalina.manager.JspHelper.specialCharactersRepresentation:[[C
bipush 60
ldc "<"
invokevirtual java.lang.String.toCharArray:()[C
aastore
4: getstatic org.apache.catalina.manager.JspHelper.specialCharactersRepresentation:[[C
bipush 62
ldc ">"
invokevirtual java.lang.String.toCharArray:()[C
aastore
5: getstatic org.apache.catalina.manager.JspHelper.specialCharactersRepresentation:[[C
bipush 34
ldc """
invokevirtual java.lang.String.toCharArray:()[C
aastore
6: getstatic org.apache.catalina.manager.JspHelper.specialCharactersRepresentation:[[C
bipush 39
ldc "'"
invokevirtual java.lang.String.toCharArray:()[C
aastore
7: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/manager/JspHelper;
public static java.lang.String guessDisplayLocaleFromSession(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.manager.util.SessionUtils.guessLocaleFromSession:(Lorg/apache/catalina/Session;)Ljava/util/Locale;
invokestatic org.apache.catalina.manager.JspHelper.localeToString:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in_session Lorg/apache/catalina/Session;
MethodParameters:
Name Flags
in_session
private static java.lang.String localeToString(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: aload 0
invokevirtual java.util.Locale.toString:()Ljava/lang/String;
invokestatic org.apache.catalina.manager.JspHelper.escapeXml:(Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static java.lang.String guessDisplayUserFromSession(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.manager.util.SessionUtils.guessUserFromSession:(Lorg/apache/catalina/Session;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokestatic org.apache.catalina.manager.JspHelper.escapeXml:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 in_session Lorg/apache/catalina/Session;
1 2 1 user Ljava/lang/Object;
MethodParameters:
Name Flags
in_session
public static java.lang.String getDisplayCreationTimeForSession(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.catalina.Session.getCreationTime:()J
lconst_0
lcmp
ifne 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.text.SimpleDateFormat
dup
ldc "yyyy-MM-dd HH:mm:ss"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
new java.util.Date
dup
aload 0
invokeinterface org.apache.catalina.Session.getCreationTime:()J
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.text.DateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
4: areturn
end local 1 5: StackMap locals:
StackMap stack: java.lang.IllegalStateException
pop
6: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in_session Lorg/apache/catalina/Session;
3 5 1 formatter Ljava/text/DateFormat;
Exception table:
from to target type
0 1 5 Class java.lang.IllegalStateException
2 4 5 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
in_session
public static java.lang.String getDisplayLastAccessedTimeForSession(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.catalina.Session.getLastAccessedTime:()J
lconst_0
lcmp
ifne 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.text.SimpleDateFormat
dup
ldc "yyyy-MM-dd HH:mm:ss"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
new java.util.Date
dup
aload 0
invokeinterface org.apache.catalina.Session.getLastAccessedTime:()J
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.text.DateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
4: areturn
end local 1 5: StackMap locals:
StackMap stack: java.lang.IllegalStateException
pop
6: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in_session Lorg/apache/catalina/Session;
3 5 1 formatter Ljava/text/DateFormat;
Exception table:
from to target type
0 1 5 Class java.lang.IllegalStateException
2 4 5 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
in_session
public static java.lang.String getDisplayUsedTimeForSession(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.catalina.Session.getCreationTime:()J
lconst_0
lcmp
ifne 4
1: ldc ""
areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalStateException
pop
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.catalina.manager.util.SessionUtils.getUsedTimeForSession:(Lorg/apache/catalina/Session;)J
ldc 1000
ldiv
invokestatic org.apache.catalina.manager.JspHelper.secondsToTimeString:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 in_session Lorg/apache/catalina/Session;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
in_session
public static java.lang.String getDisplayTTLForSession(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.catalina.Session.getCreationTime:()J
lconst_0
lcmp
ifne 4
1: ldc ""
areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalStateException
pop
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.catalina.manager.util.SessionUtils.getTTLForSession:(Lorg/apache/catalina/Session;)J
ldc 1000
ldiv
invokestatic org.apache.catalina.manager.JspHelper.secondsToTimeString:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 in_session Lorg/apache/catalina/Session;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
in_session
public static java.lang.String getDisplayInactiveTimeForSession(org.apache.catalina.Session);
descriptor: (Lorg/apache/catalina/Session;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.catalina.Session.getCreationTime:()J
lconst_0
lcmp
ifne 4
1: ldc ""
areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalStateException
pop
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.catalina.manager.util.SessionUtils.getInactiveTimeForSession:(Lorg/apache/catalina/Session;)J
ldc 1000
ldiv
invokestatic org.apache.catalina.manager.JspHelper.secondsToTimeString:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 in_session Lorg/apache/catalina/Session;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
MethodParameters:
Name Flags
in_session
public static java.lang.String secondsToTimeString(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=11, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
bipush 9
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 1: lload 0
lconst_0
lcmp
ifge 4
2: aload 2
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: lload 0
lneg
lstore 0
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
lload 0
lstore 3
start local 3 5: lload 3
ldc 3600
ldiv
lstore 5
start local 5 6: lload 3
ldc 3600
lrem
lstore 3
7: lload 3
ldc 60
ldiv
lstore 7
start local 7 8: lload 3
ldc 60
lrem
lstore 3
9: lload 3
lstore 9
start local 9 10: lload 5
ldc 10
lcmp
ifge 12
11: aload 2
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: StackMap locals: long java.lang.StringBuilder long long long long
StackMap stack:
aload 2
lload 5
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
13: aload 2
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: lload 7
ldc 10
lcmp
ifge 16
15: aload 2
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 2
lload 7
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
17: aload 2
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: lload 9
ldc 10
lcmp
ifge 20
19: aload 2
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 2
lload 9
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
21: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 9 end local 7 end local 5 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 in_seconds J
1 22 2 buff Ljava/lang/StringBuilder;
5 22 3 rest J
6 22 5 hour J
8 22 7 minute J
10 22 9 second J
MethodParameters:
Name Flags
in_seconds
public static java.lang.String escapeXml(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: astore 1
4: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
5: pop
6: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.catalina.manager.JspHelper.escapeXml:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 obj Ljava/lang/Object;
1 7 1 value Ljava/lang/String;
Exception table:
from to target type
1 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
obj
public static java.lang.String escapeXml(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 4: aload 0
invokevirtual java.lang.String.toCharArray:()[C
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 19
8: StackMap locals: java.lang.String int int char[] java.lang.StringBuilder int
StackMap stack:
aload 3
iload 5
caload
istore 6
start local 6 9: iload 6
bipush 62
if_icmpgt 18
10: getstatic org.apache.catalina.manager.JspHelper.specialCharactersRepresentation:[[C
iload 6
aaload
astore 7
start local 7 11: aload 7
ifnull 18
12: iload 1
ifne 14
13: new java.lang.StringBuilder
dup
iload 2
iconst_5
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
14: StackMap locals: int char[]
StackMap stack:
iload 1
iload 5
if_icmpge 16
15: aload 4
aload 3
iload 1
iload 5
iload 1
isub
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
iload 5
iconst_1
iadd
istore 1
17: aload 4
aload 7
invokevirtual java.lang.StringBuilder.append:([C)Ljava/lang/StringBuilder;
pop
end local 7 end local 6 18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
iload 2
if_icmplt 8
end local 5 20: iload 1
ifne 22
21: aload 0
areturn
22: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmpge 24
23: aload 4
aload 3
iload 1
iload 2
iload 1
isub
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
24: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 buffer Ljava/lang/String;
3 25 1 start I
4 25 2 length I
5 25 3 arrayBuffer [C
6 25 4 escapedBuffer Ljava/lang/StringBuilder;
7 20 5 i I
9 18 6 c C
11 18 7 escaped [C
MethodParameters:
Name Flags
buffer
public static java.lang.String formatNumber(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic java.text.NumberFormat.getNumberInstance:()Ljava/text/NumberFormat;
lload 0
invokevirtual java.text.NumberFormat.format:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 number J
MethodParameters:
Name Flags
number
}
SourceFile: "JspHelper.java"