public class sun.net.www.protocol.http.logging.HttpLogFormatter extends java.util.logging.SimpleFormatter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.www.protocol.http.logging.HttpLogFormatter
super_class: java.util.logging.SimpleFormatter
{
private static volatile java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.util.regex.Pattern cpattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic sun.net.www.protocol.http.logging.HttpLogFormatter.pattern:Ljava/util/regex/Pattern;
1: aconst_null
putstatic sun.net.www.protocol.http.logging.HttpLogFormatter.cpattern:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.logging.SimpleFormatter.<init>:()V
1: getstatic sun.net.www.protocol.http.logging.HttpLogFormatter.pattern:Ljava/util/regex/Pattern;
ifnonnull 4
2: ldc "\\{[^\\}]*\\}"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic sun.net.www.protocol.http.logging.HttpLogFormatter.pattern:Ljava/util/regex/Pattern;
3: ldc "[^,\\] ]{2,}"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic sun.net.www.protocol.http.logging.HttpLogFormatter.cpattern:Ljava/util/regex/Pattern;
4: StackMap locals: sun.net.www.protocol.http.logging.HttpLogFormatter
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/net/www/protocol/http/logging/HttpLogFormatter;
public java.lang.String format(java.util.logging.LogRecord);
descriptor: (Ljava/util/logging/LogRecord;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.logging.LogRecord.getSourceClassName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 2
ldc "sun.net.www.protocol.http"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
3: aload 2
ldc "sun.net.www.http"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokespecial java.util.logging.SimpleFormatter.format:(Ljava/util/logging/LogRecord;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.logging.LogRecord.getMessage:()Ljava/lang/String;
astore 3
start local 3 6: new java.lang.StringBuilder
dup
ldc "HTTP: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 7: aload 3
ldc "sun.net.www.MessageHeader@"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
8: getstatic sun.net.www.protocol.http.logging.HttpLogFormatter.pattern:Ljava/util/regex/Pattern;
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 5
start local 5 9: goto 18
10: StackMap locals: java.lang.String java.lang.StringBuilder java.util.regex.Matcher
StackMap stack:
aload 5
invokevirtual java.util.regex.Matcher.start:()I
istore 6
start local 6 11: aload 5
invokevirtual java.util.regex.Matcher.end:()I
istore 7
start local 7 12: aload 3
iload 6
iconst_1
iadd
iload 7
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 13: aload 8
ldc "null: "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
14: aload 8
bipush 6
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
15: StackMap locals: int int java.lang.String
StackMap stack:
aload 8
ldc ": null"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 17
16: aload 8
iconst_0
aload 8
invokevirtual java.lang.String.length:()I
bipush 6
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
17: StackMap locals:
StackMap stack:
aload 4
ldc "\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 end local 7 end local 6 18: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.regex.Matcher.find:()Z
ifne 10
end local 5 19: goto 65
StackMap locals:
StackMap stack:
20: aload 3
ldc "Cookies retrieved: {"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 64
21: aload 3
bipush 20
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 22: aload 4
ldc "Cookies from handler:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: goto 62
24: StackMap locals: java.lang.String
StackMap stack:
aload 5
ldc "Cookie=["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 44
25: aload 5
bipush 8
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
start local 6 26: aload 6
ldc "Cookie2=["
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 7
start local 7 27: iload 7
ifle 31
28: aload 6
iconst_0
iload 7
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
29: aload 6
iload 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
30: goto 32
31: StackMap locals: java.lang.String int
StackMap stack:
ldc ""
astore 5
32: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.String.length:()I
iconst_4
if_icmpge 34
33: goto 62
34: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.logging.HttpLogFormatter.cpattern:Ljava/util/regex/Pattern;
aload 6
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 8
start local 8 35: goto 43
36: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 8
invokevirtual java.util.regex.Matcher.start:()I
istore 9
start local 9 37: aload 8
invokevirtual java.util.regex.Matcher.end:()I
istore 10
start local 10 38: iload 9
iflt 43
39: aload 6
iload 9
iconst_1
iadd
iload 10
ifle 40
iload 10
iconst_1
isub
goto 41
StackMap locals: sun.net.www.protocol.http.logging.HttpLogFormatter java.util.logging.LogRecord java.lang.String java.lang.String java.lang.StringBuilder java.lang.String java.lang.String int java.util.regex.Matcher int int
StackMap stack: java.lang.String int
40: aload 6
invokevirtual java.lang.String.length:()I
iconst_1
isub
StackMap locals: sun.net.www.protocol.http.logging.HttpLogFormatter java.util.logging.LogRecord java.lang.String java.lang.String java.lang.StringBuilder java.lang.String java.lang.String int java.util.regex.Matcher int int
StackMap stack: java.lang.String int int
41: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
start local 11 42: aload 4
ldc "\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 end local 10 end local 9 43: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.util.regex.Matcher.find:()Z
ifne 36
end local 8 end local 7 end local 6 44: StackMap locals:
StackMap stack:
aload 5
ldc "Cookie2=["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 62
45: aload 5
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
start local 6 46: aload 6
ldc "Cookie=["
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 7
start local 7 47: iload 7
ifle 51
48: aload 6
iconst_0
iload 7
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
49: aload 6
iload 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
50: goto 52
51: StackMap locals: java.lang.String int
StackMap stack:
ldc ""
astore 5
52: StackMap locals:
StackMap stack:
getstatic sun.net.www.protocol.http.logging.HttpLogFormatter.cpattern:Ljava/util/regex/Pattern;
aload 6
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 8
start local 8 53: goto 61
54: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 8
invokevirtual java.util.regex.Matcher.start:()I
istore 9
start local 9 55: aload 8
invokevirtual java.util.regex.Matcher.end:()I
istore 10
start local 10 56: iload 9
iflt 61
57: aload 6
iload 9
iconst_1
iadd
iload 10
ifle 58
iload 10
iconst_1
isub
goto 59
StackMap locals: sun.net.www.protocol.http.logging.HttpLogFormatter java.util.logging.LogRecord java.lang.String java.lang.String java.lang.StringBuilder java.lang.String java.lang.String int java.util.regex.Matcher int int
StackMap stack: java.lang.String int
58: aload 6
invokevirtual java.lang.String.length:()I
iconst_1
isub
StackMap locals: sun.net.www.protocol.http.logging.HttpLogFormatter java.util.logging.LogRecord java.lang.String java.lang.String java.lang.StringBuilder java.lang.String java.lang.String int java.util.regex.Matcher int int
StackMap stack: java.lang.String int int
59: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
start local 11 60: aload 4
ldc "\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 end local 10 end local 9 61: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.util.regex.Matcher.find:()Z
ifne 54
end local 8 end local 7 end local 6 62: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.String.length:()I
bipush 7
if_icmpge 24
end local 5 63: goto 65
64: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
65: 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 66 0 this Lsun/net/www/protocol/http/logging/HttpLogFormatter;
0 66 1 record Ljava/util/logging/LogRecord;
1 66 2 sourceClassName Ljava/lang/String;
6 66 3 src Ljava/lang/String;
7 66 4 buf Ljava/lang/StringBuilder;
9 19 5 match Ljava/util/regex/Matcher;
11 18 6 i I
12 18 7 j I
13 18 8 s Ljava/lang/String;
22 63 5 s Ljava/lang/String;
26 44 6 s2 Ljava/lang/String;
27 44 7 c I
35 44 8 m Ljava/util/regex/Matcher;
37 43 9 i I
38 43 10 j I
42 43 11 cookie Ljava/lang/String;
46 62 6 s2 Ljava/lang/String;
47 62 7 c I
53 62 8 m Ljava/util/regex/Matcher;
55 61 9 i I
56 61 10 j I
60 61 11 cookie Ljava/lang/String;
MethodParameters:
Name Flags
record
}
SourceFile: "HttpLogFormatter.java"