public class org.eclipse.jetty.util.URIUtil implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.URIUtil
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String SLASH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "/"
public static final java.lang.String HTTP;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http"
public static final java.lang.String HTTPS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "https"
public static final java.nio.charset.Charset __CHARSET;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/URIUtil;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.util.URIUtil.LOG:Lorg/slf4j/Logger;
1: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
putstatic org.eclipse.jetty.util.URIUtil.__CHARSET:Ljava/nio/charset/Charset;
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/eclipse/jetty/util/URIUtil;
public static java.lang.String encodePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aconst_null
aload 0
iconst_0
invokestatic org.eclipse.jetty.util.URIUtil.encodePath:(Ljava/lang/StringBuilder;Ljava/lang/String;I)Ljava/lang/StringBuilder;
astore 1
start local 1 3: aload 1
ifnonnull 4
aload 0
goto 5
StackMap locals: java.lang.StringBuilder
StackMap stack:
4: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/lang/String;
3 6 1 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
path
public static java.lang.StringBuilder encodePath(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/StringBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.eclipse.jetty.util.URIUtil.encodePath:(Ljava/lang/StringBuilder;Ljava/lang/String;I)Ljava/lang/StringBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buf Ljava/lang/StringBuilder;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
buf
path
private static java.lang.StringBuilder encodePath(java.lang.StringBuilder, java.lang.String, int);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;I)Ljava/lang/StringBuilder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
ifnonnull 16
2: iload 2
istore 4
start local 4 3: goto 13
4: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 5: iload 5
lookupswitch { // 17
32: 6
34: 6
35: 6
37: 6
39: 6
59: 6
60: 6
62: 6
63: 6
91: 6
92: 6
93: 6
94: 6
96: 6
123: 6
124: 6
125: 6
default: 8
}
6: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.String.length:()I
iconst_2
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 0
7: goto 14
8: StackMap locals:
StackMap stack:
iload 5
bipush 127
if_icmple 12
9: aload 1
getstatic org.eclipse.jetty.util.URIUtil.__CHARSET:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 3
10: new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.String.length:()I
iconst_2
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 0
11: goto 14
end local 5 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 4
end local 4 14: StackMap locals:
StackMap stack:
aload 0
ifnonnull 16
15: aconst_null
areturn
16: StackMap locals:
StackMap stack:
iload 2
istore 4
start local 4 17: goto 59
18: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 19: iload 5
lookupswitch { // 17
32: 36
34: 28
35: 26
37: 20
39: 30
59: 24
60: 32
62: 34
63: 22
91: 38
92: 40
93: 42
94: 44
96: 46
123: 48
124: 50
125: 52
default: 54
}
20: StackMap locals: int
StackMap stack:
aload 0
ldc "%25"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: goto 58
22: StackMap locals:
StackMap stack:
aload 0
ldc "%3F"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: goto 58
24: StackMap locals:
StackMap stack:
aload 0
ldc "%3B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: goto 58
26: StackMap locals:
StackMap stack:
aload 0
ldc "%23"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
27: goto 58
28: StackMap locals:
StackMap stack:
aload 0
ldc "%22"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
29: goto 58
30: StackMap locals:
StackMap stack:
aload 0
ldc "%27"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: goto 58
32: StackMap locals:
StackMap stack:
aload 0
ldc "%3C"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: goto 58
34: StackMap locals:
StackMap stack:
aload 0
ldc "%3E"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: goto 58
36: StackMap locals:
StackMap stack:
aload 0
ldc "%20"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: goto 58
38: StackMap locals:
StackMap stack:
aload 0
ldc "%5B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
39: goto 58
40: StackMap locals:
StackMap stack:
aload 0
ldc "%5C"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: goto 58
42: StackMap locals:
StackMap stack:
aload 0
ldc "%5D"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
43: goto 58
44: StackMap locals:
StackMap stack:
aload 0
ldc "%5E"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: goto 58
46: StackMap locals:
StackMap stack:
aload 0
ldc "%60"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
47: goto 58
48: StackMap locals:
StackMap stack:
aload 0
ldc "%7B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
49: goto 58
50: StackMap locals:
StackMap stack:
aload 0
ldc "%7C"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
51: goto 58
52: StackMap locals:
StackMap stack:
aload 0
ldc "%7D"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
53: goto 58
54: StackMap locals:
StackMap stack:
iload 5
bipush 127
if_icmple 57
55: aload 1
getstatic org.eclipse.jetty.util.URIUtil.__CHARSET:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 3
56: goto 60
57: StackMap locals:
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 58: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
59: iload 4
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 18
60: StackMap locals:
StackMap stack:
aload 3
ifnull 105
61: goto 104
62: StackMap locals:
StackMap stack:
aload 3
iload 4
baload
istore 5
start local 5 63: iload 5
lookupswitch { // 17
32: 80
34: 72
35: 70
37: 64
39: 74
59: 68
60: 76
62: 78
63: 66
91: 82
92: 84
93: 86
94: 88
96: 90
123: 92
124: 94
125: 96
default: 98
}
64: StackMap locals: int
StackMap stack:
aload 0
ldc "%25"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
65: goto 103
66: StackMap locals:
StackMap stack:
aload 0
ldc "%3F"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
67: goto 103
68: StackMap locals:
StackMap stack:
aload 0
ldc "%3B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
69: goto 103
70: StackMap locals:
StackMap stack:
aload 0
ldc "%23"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
71: goto 103
72: StackMap locals:
StackMap stack:
aload 0
ldc "%22"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
73: goto 103
74: StackMap locals:
StackMap stack:
aload 0
ldc "%27"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
75: goto 103
76: StackMap locals:
StackMap stack:
aload 0
ldc "%3C"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
77: goto 103
78: StackMap locals:
StackMap stack:
aload 0
ldc "%3E"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
79: goto 103
80: StackMap locals:
StackMap stack:
aload 0
ldc "%20"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
81: goto 103
82: StackMap locals:
StackMap stack:
aload 0
ldc "%5B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
83: goto 103
84: StackMap locals:
StackMap stack:
aload 0
ldc "%5C"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
85: goto 103
86: StackMap locals:
StackMap stack:
aload 0
ldc "%5D"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
87: goto 103
88: StackMap locals:
StackMap stack:
aload 0
ldc "%5E"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
89: goto 103
90: StackMap locals:
StackMap stack:
aload 0
ldc "%60"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
91: goto 103
92: StackMap locals:
StackMap stack:
aload 0
ldc "%7B"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
93: goto 103
94: StackMap locals:
StackMap stack:
aload 0
ldc "%7C"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
95: goto 103
96: StackMap locals:
StackMap stack:
aload 0
ldc "%7D"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
97: goto 103
98: StackMap locals:
StackMap stack:
iload 5
ifge 102
99: aload 0
bipush 37
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
100: iload 5
aload 0
invokestatic org.eclipse.jetty.util.TypeUtil.toHex:(BLjava/lang/Appendable;)V
101: goto 103
102: StackMap locals:
StackMap stack:
aload 0
iload 5
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 103: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
104: iload 4
aload 3
arraylength
if_icmplt 62
105: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 106 0 buf Ljava/lang/StringBuilder;
0 106 1 path Ljava/lang/String;
0 106 2 offset I
1 106 3 bytes [B
3 14 4 i I
5 12 5 c C
17 106 4 i I
19 58 5 c C
63 103 5 c B
MethodParameters:
Name Flags
buf
path
offset
public static java.lang.String encodeSpaces(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc " "
ldc "%20"
invokestatic org.eclipse.jetty.util.StringUtil.replace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public static java.lang.String encodeSpecific(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=13, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 1
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.toCharArray:()[C
astore 2
start local 2 5: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 6: new java.lang.StringBuilder
dup
iload 3
i2d
ldc 0.2
dmul
d2i
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 30
9: StackMap locals: java.lang.String java.lang.String char[] int java.lang.StringBuilder int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 10: iconst_0
istore 7
start local 7 11: aload 2
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 26
StackMap locals: java.lang.String java.lang.String char[] int java.lang.StringBuilder int int int top int int char[]
StackMap stack:
12: aload 11
iload 9
caload
istore 8
start local 8 13: iload 6
iload 8
if_icmpne 25
14: iconst_1
istore 7
15: aload 4
bipush 37
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: bipush 15
sipush 240
iload 6
iand
iconst_4
ishr
iand
istore 12
start local 12 17: aload 4
iload 12
bipush 9
if_icmple 18
bipush 55
goto 19
StackMap locals: java.lang.String java.lang.String char[] int java.lang.StringBuilder int int int int int int char[] int
StackMap stack: java.lang.StringBuilder
18: bipush 48
StackMap locals: java.lang.String java.lang.String char[] int java.lang.StringBuilder int int int int int int char[] int
StackMap stack: java.lang.StringBuilder int
19: iload 12
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: bipush 15
iload 6
iand
istore 12
21: aload 4
iload 12
bipush 9
if_icmple 22
bipush 55
goto 23
StackMap locals:
StackMap stack: java.lang.StringBuilder
22: bipush 48
StackMap locals: java.lang.String java.lang.String char[] int java.lang.StringBuilder int int int int int int char[] int
StackMap stack: java.lang.StringBuilder int
23: iload 12
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
24: goto 27
end local 12 end local 8 25: StackMap locals: java.lang.String java.lang.String char[] int java.lang.StringBuilder int int int top int int char[]
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
26: iload 9
iload 10
if_icmplt 12
27: StackMap locals: java.lang.String java.lang.String char[] int java.lang.StringBuilder int int int
StackMap stack:
iload 7
ifne 29
28: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 7 end local 6 29: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
30: iload 5
iload 3
if_icmplt 9
end local 5 31: 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 32 0 str Ljava/lang/String;
0 32 1 charsToEncode Ljava/lang/String;
5 32 2 find [C
6 32 3 len I
7 32 4 ret Ljava/lang/StringBuilder;
8 31 5 i I
10 29 6 c C
11 29 7 escaped Z
13 25 8 f C
17 25 12 d I
MethodParameters:
Name Flags
str
charsToEncode
public static java.lang.String decodeSpecific(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=16, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 1
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 0
bipush 37
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 5: iload 2
iconst_m1
if_icmpne 7
6: aload 0
areturn
7: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.lang.String.toCharArray:()[C
astore 3
start local 3 8: aload 0
invokevirtual java.lang.String.length:()I
istore 4
start local 4 9: new org.eclipse.jetty.util.Utf8StringBuilder
dup
iload 4
invokespecial org.eclipse.jetty.util.Utf8StringBuilder.<init>:(I)V
astore 5
start local 5 10: aload 5
aload 0
iconst_0
iload 2
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(Ljava/lang/String;II)V
11: iload 2
istore 6
start local 6 12: goto 36
13: StackMap locals: java.lang.String java.lang.String int char[] int org.eclipse.jetty.util.Utf8StringBuilder int
StackMap stack:
aload 0
iload 6
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 14: iload 7
tableswitch { // 37 - 37
37: 15
default: 34
}
15: StackMap locals: int
StackMap stack:
iload 6
iconst_2
iadd
iload 4
if_icmpge 33
16: aload 0
iload 6
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 8
start local 8 17: aload 0
iload 6
iconst_2
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 9
start local 9 18: sipush 255
iload 8
invokestatic org.eclipse.jetty.util.TypeUtil.convertHexDigit:(C)I
bipush 16
imul
iload 9
invokestatic org.eclipse.jetty.util.TypeUtil.convertHexDigit:(C)I
iadd
iand
i2c
istore 10
start local 10 19: iconst_0
istore 11
start local 11 20: aload 3
dup
astore 15
arraylength
istore 14
iconst_0
istore 13
goto 27
StackMap locals: java.lang.String java.lang.String int char[] int org.eclipse.jetty.util.Utf8StringBuilder int int int int int int top int int char[]
StackMap stack:
21: aload 15
iload 13
caload
istore 12
start local 12 22: iload 12
iload 10
if_icmpne 26
23: aload 5
iload 10
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(C)V
24: iconst_1
istore 11
25: goto 28
end local 12 26: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
27: iload 13
iload 14
if_icmplt 21
28: StackMap locals: java.lang.String java.lang.String int char[] int org.eclipse.jetty.util.Utf8StringBuilder int int int int int int
StackMap stack:
iload 11
ifeq 31
29: iinc 6 2
30: goto 35
31: StackMap locals:
StackMap stack:
aload 5
iload 7
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(C)V
end local 11 end local 10 end local 9 end local 8 32: goto 35
33: StackMap locals: java.lang.String java.lang.String int char[] int org.eclipse.jetty.util.Utf8StringBuilder int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Bad URI % encoding"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
34: StackMap locals:
StackMap stack:
aload 5
iload 7
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(C)V
end local 7 35: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
36: iload 6
iload 4
if_icmplt 13
end local 6 37: aload 5
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.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 38 0 str Ljava/lang/String;
0 38 1 charsToDecode Ljava/lang/String;
5 38 2 idx I
8 38 3 find [C
9 38 4 len I
10 38 5 ret Lorg/eclipse/jetty/util/Utf8StringBuilder;
12 37 6 i I
14 35 7 c C
17 32 8 u C
18 32 9 l C
19 32 10 result C
20 32 11 decoded Z
22 26 12 f C
MethodParameters:
Name Flags
str
charsToDecode
public static java.lang.StringBuilder encodeString(java.lang.StringBuilder, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 11
1: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: iload 4
bipush 37
if_icmpeq 5
aload 2
iload 4
invokevirtual java.lang.String.indexOf:(I)I
iflt 7
5: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
ishl
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 0
6: goto 9
end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 3 9: StackMap locals:
StackMap stack:
aload 0
ifnonnull 11
10: aconst_null
areturn
11: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 12: goto 20
13: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 14: iload 4
bipush 37
if_icmpeq 15
aload 2
iload 4
invokevirtual java.lang.String.indexOf:(I)I
iflt 18
15: StackMap locals: int
StackMap stack:
aload 0
bipush 37
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: aload 0
sipush 255
iload 4
iand
i2b
bipush 16
invokestatic org.eclipse.jetty.util.StringUtil.append:(Ljava/lang/StringBuilder;BI)V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 19: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
20: iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 13
end local 3 21: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 buf Ljava/lang/StringBuilder;
0 22 1 path Ljava/lang/String;
0 22 2 encode Ljava/lang/String;
2 9 3 i I
4 7 4 c C
12 21 3 i I
14 19 4 c C
MethodParameters:
Name Flags
buf
path
encode
public static java.lang.String decodePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
invokestatic org.eclipse.jetty.util.URIUtil.decodePath:(Ljava/lang/String;II)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public static java.lang.String decodePath(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iload 1
iload 2
iadd
istore 4
start local 4 2: iload 1
istore 5
start local 5 3: goto 31
4: StackMap locals: org.eclipse.jetty.util.Utf8StringBuilder int int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 5: iload 6
lookupswitch { // 2
37: 6
59: 19
default: 28
}
6: StackMap locals: int
StackMap stack:
aload 3
ifnonnull 9
7: new org.eclipse.jetty.util.Utf8StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.eclipse.jetty.util.Utf8StringBuilder.<init>:(I)V
astore 3
8: aload 3
aload 0
iload 1
iload 5
iload 1
isub
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(Ljava/lang/String;II)V
9: StackMap locals:
StackMap stack:
iload 5
iconst_2
iadd
iload 4
if_icmpge 18
10: aload 0
iload 5
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 11: iload 7
bipush 117
if_icmpne 15
12: aload 3
ldc 65535
aload 0
iload 5
iconst_2
iadd
iconst_4
bipush 16
invokestatic org.eclipse.jetty.util.TypeUtil.parseInt:(Ljava/lang/String;III)I
iand
i2c
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(C)V
13: iinc 5 5
14: goto 30
15: StackMap locals: int
StackMap stack:
aload 3
sipush 255
iload 7
invokestatic org.eclipse.jetty.util.TypeUtil.convertHexDigit:(C)I
bipush 16
imul
aload 0
iload 5
iconst_2
iadd
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.eclipse.jetty.util.TypeUtil.convertHexDigit:(C)I
iadd
iand
i2b
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(B)V
16: iinc 5 2
end local 7 17: goto 30
18: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Bad URI % encoding"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 3
ifnonnull 26
20: new org.eclipse.jetty.util.Utf8StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.eclipse.jetty.util.Utf8StringBuilder.<init>:(I)V
astore 3
21: aload 3
aload 0
iload 1
iload 5
iload 1
isub
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(Ljava/lang/String;II)V
22: goto 26
23: StackMap locals:
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 26
24: aload 3
bipush 47
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(C)V
25: goto 30
26: StackMap locals:
StackMap stack:
iinc 5 1
iload 5
iload 4
if_icmplt 23
27: goto 30
28: StackMap locals:
StackMap stack:
aload 3
ifnull 30
29: aload 3
iload 6
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.append:(C)V
end local 6 30: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
31: iload 5
iload 4
if_icmplt 4
end local 5 32: aload 3
ifnull 35
33: aload 3
invokevirtual org.eclipse.jetty.util.Utf8StringBuilder.toString:()Ljava/lang/String;
34: areturn
35: StackMap locals:
StackMap stack:
iload 1
ifne 38
iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmpne 38
36: aload 0
37: areturn
38: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
39: areturn
end local 4 end local 3 40: StackMap locals: java.lang.String int int
StackMap stack: org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception
astore 3
start local 3 41: getstatic org.eclipse.jetty.util.URIUtil.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 43
42: getstatic org.eclipse.jetty.util.URIUtil.LOG:Lorg/slf4j/Logger;
ldc "{} {}"
aload 0
iload 1
iload 1
iload 2
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aload 3
invokevirtual org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception.toString:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
43: StackMap locals: org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception
StackMap stack:
aload 0
iload 1
iload 2
invokestatic org.eclipse.jetty.util.URIUtil.decodeISO88591Path:(Ljava/lang/String;II)Ljava/lang/String;
areturn
end local 3 44: StackMap locals: java.lang.String int int
StackMap stack: java.lang.IllegalArgumentException
astore 3
start local 3 45: aload 3
athrow
end local 3 46: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 47: new java.lang.IllegalArgumentException
dup
ldc "cannot decode URI"
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 path Ljava/lang/String;
0 48 1 offset I
0 48 2 length I
1 40 3 builder Lorg/eclipse/jetty/util/Utf8StringBuilder;
2 40 4 end I
3 32 5 i I
5 30 6 c C
11 17 7 u C
41 44 3 e Lorg/eclipse/jetty/util/Utf8Appendable$NotUtf8Exception;
45 46 3 e Ljava/lang/IllegalArgumentException;
47 48 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 34 40 Class org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception
35 37 40 Class org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception
38 39 40 Class org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception
0 34 44 Class java.lang.IllegalArgumentException
35 37 44 Class java.lang.IllegalArgumentException
38 39 44 Class java.lang.IllegalArgumentException
0 34 46 Class java.lang.Exception
35 37 46 Class java.lang.Exception
38 39 46 Class java.lang.Exception
MethodParameters:
Name Flags
path
offset
length
private static java.lang.String decodeISO88591Path(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iload 1
iload 2
iadd
istore 4
start local 4 2: iload 1
istore 5
start local 5 3: goto 31
4: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 5: iload 6
lookupswitch { // 2
37: 6
59: 19
default: 28
}
6: StackMap locals: int
StackMap stack:
aload 3
ifnonnull 9
7: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
8: aload 3
aload 0
iload 1
iload 5
iload 1
isub
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
iload 5
iconst_2
iadd
iload 4
if_icmpge 18
10: aload 0
iload 5
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 11: iload 7
bipush 117
if_icmpne 15
12: aload 3
ldc 65535
aload 0
iload 5
iconst_2
iadd
iconst_4
bipush 16
invokestatic org.eclipse.jetty.util.TypeUtil.parseInt:(Ljava/lang/String;III)I
iand
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: iinc 5 5
14: goto 30
15: StackMap locals: int
StackMap stack:
aload 3
sipush 255
iload 7
invokestatic org.eclipse.jetty.util.TypeUtil.convertHexDigit:(C)I
bipush 16
imul
aload 0
iload 5
iconst_2
iadd
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.eclipse.jetty.util.TypeUtil.convertHexDigit:(C)I
iadd
iand
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: iinc 5 2
end local 7 17: goto 30
18: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
19: StackMap locals:
StackMap stack:
aload 3
ifnonnull 26
20: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
21: aload 3
aload 0
iload 1
iload 5
iload 1
isub
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
22: goto 26
23: StackMap locals:
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 26
24: aload 3
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
25: goto 30
26: StackMap locals:
StackMap stack:
iinc 5 1
iload 5
iload 4
if_icmplt 23
27: goto 30
28: StackMap locals:
StackMap stack:
aload 3
ifnull 30
29: aload 3
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 6 30: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
31: iload 5
iload 4
if_icmplt 4
end local 5 32: aload 3
ifnull 34
33: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
34: StackMap locals:
StackMap stack:
iload 1
ifne 36
iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmpne 36
35: aload 0
areturn
36: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 4
invokevirtual java.lang.String.substring:(II)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 37 0 path Ljava/lang/String;
0 37 1 offset I
0 37 2 length I
1 37 3 builder Ljava/lang/StringBuilder;
2 37 4 end I
3 32 5 i I
5 30 6 c C
11 17 7 u C
MethodParameters:
Name Flags
path
offset
length
public static java.lang.String addEncodedPaths(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 4
1: StackMap locals:
StackMap stack:
aload 0
ifnull 3
aload 1
ifnonnull 3
2: aload 0
areturn
3: StackMap locals:
StackMap stack:
aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 1
ifnull 5
aload 1
invokevirtual java.lang.String.length:()I
ifne 6
5: StackMap locals:
StackMap stack:
aload 0
areturn
6: StackMap locals:
StackMap stack:
aload 0
bipush 59
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 7: iload 2
ifge 9
8: aload 0
bipush 63
invokevirtual java.lang.String.indexOf:(I)I
istore 2
9: StackMap locals: int
StackMap stack:
iload 2
ifne 11
10: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
iload 2
ifge 13
12: aload 0
invokevirtual java.lang.String.length:()I
istore 2
13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
iadd
iconst_2
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 14: aload 3
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 3
iload 2
iconst_1
isub
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 47
if_icmpne 22
16: aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
17: aload 3
iload 2
iconst_1
isub
invokevirtual java.lang.StringBuilder.deleteCharAt:(I)Ljava/lang/StringBuilder;
pop
18: aload 3
iload 2
iconst_1
isub
aload 1
invokevirtual java.lang.StringBuilder.insert:(ILjava/lang/String;)Ljava/lang/StringBuilder;
pop
19: goto 26
20: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 3
iload 2
aload 1
invokevirtual java.lang.StringBuilder.insert:(ILjava/lang/String;)Ljava/lang/StringBuilder;
pop
21: goto 26
22: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
23: aload 3
iload 2
aload 1
invokevirtual java.lang.StringBuilder.insert:(ILjava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 26
24: StackMap locals:
StackMap stack:
aload 3
iload 2
bipush 47
invokevirtual java.lang.StringBuilder.insert:(IC)Ljava/lang/StringBuilder;
pop
25: aload 3
iload 2
iconst_1
iadd
aload 1
invokevirtual java.lang.StringBuilder.insert:(ILjava/lang/String;)Ljava/lang/StringBuilder;
pop
26: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 p1 Ljava/lang/String;
0 27 1 p2 Ljava/lang/String;
7 27 2 split I
14 27 3 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
p1
p2
public static java.lang.String addPaths(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 4
1: StackMap locals:
StackMap stack:
aload 0
ifnull 3
aload 1
ifnonnull 3
2: aload 0
areturn
3: StackMap locals:
StackMap stack:
aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 1
ifnull 5
aload 1
invokevirtual java.lang.String.length:()I
ifne 6
5: StackMap locals:
StackMap stack:
aload 0
areturn
6: StackMap locals:
StackMap stack:
aload 0
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
istore 2
start local 2 7: aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 3
start local 3 8: iload 2
ifeq 13
iload 3
ifeq 13
9: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 11
10: aload 0
areturn
11: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 13
12: aload 1
areturn
13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
iadd
iconst_2
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 14: aload 4
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 0
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 19
16: aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
17: aload 4
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.setLength:(I)V
18: goto 21
19: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 21
20: aload 4
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 4
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: 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 23 0 p1 Ljava/lang/String;
0 23 1 p2 Ljava/lang/String;
7 23 2 p1EndsWithSlash Z
8 23 3 p2StartsWithSlash Z
14 23 4 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
p1
p2
public static java.lang.String addPathQuery(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 63
invokevirtual java.lang.String.indexOf:(I)I
iflt 4
3: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 38
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 63
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 path Ljava/lang/String;
0 5 1 query Ljava/lang/String;
MethodParameters:
Name Flags
path
query
public static java.lang.String getUriLastPathSegment(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 4
3: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
4: StackMap locals: java.lang.String int
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
5: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
7: iload 2
iconst_m1
if_icmpeq 9
8: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 uri Ljava/net/URI;
1 10 1 ssp Ljava/lang/String;
2 10 2 idx I
MethodParameters:
Name Flags
uri
public static java.lang.String parentPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
ldc "/"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 47
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.lastIndexOf:(II)I
istore 1
start local 1 3: iload 1
iflt 5
4: aload 0
iconst_0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
5: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 p Ljava/lang/String;
3 6 1 slash I
MethodParameters:
Name Flags
p
public static java.lang.String canonicalPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 16
6: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 7: iload 4
tableswitch { // 46 - 47
46: 10
47: 8
default: 14
}
8: StackMap locals: int
StackMap stack:
iconst_1
istore 1
9: goto 15
10: StackMap locals:
StackMap stack:
iload 1
ifeq 12
11: goto 17
12: StackMap locals:
StackMap stack:
iconst_0
istore 1
13: goto 15
14: StackMap locals:
StackMap stack:
iconst_0
istore 1
15: StackMap locals:
StackMap stack:
iinc 3 1
end local 4 16: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 6
17: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpne 19
18: aload 0
areturn
19: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 20: aload 4
aload 0
iconst_0
iload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
21: iconst_1
istore 5
start local 5 22: iinc 3 1
23: goto 60
24: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 3
iload 2
if_icmpge 25
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
goto 26
StackMap locals:
StackMap stack:
25: iconst_0
StackMap locals:
StackMap stack: int
26: istore 6
start local 6 27: iload 6
lookupswitch { // 3
0: 28
46: 46
47: 28
default: 53
}
28: StackMap locals: int
StackMap stack:
iload 5
tableswitch { // 0 - 2
0: 29
1: 32
2: 33
default: 38
}
29: StackMap locals:
StackMap stack:
iload 6
ifeq 43
30: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
31: goto 43
32: StackMap locals:
StackMap stack:
goto 43
33: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_2
if_icmpge 35
34: aconst_null
areturn
35: StackMap locals:
StackMap stack:
aload 4
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.setLength:(I)V
36: aload 4
aload 4
ldc "/"
invokevirtual java.lang.StringBuilder.lastIndexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.StringBuilder.setLength:(I)V
37: goto 43
38: StackMap locals:
StackMap stack:
goto 40
39: StackMap locals:
StackMap stack:
aload 4
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
40: StackMap locals:
StackMap stack:
iload 5
iinc 5 -1
ifgt 39
41: iload 6
ifeq 43
42: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
43: StackMap locals:
StackMap stack:
iconst_1
istore 1
44: iconst_0
istore 5
45: goto 59
46: StackMap locals:
StackMap stack:
iload 5
ifle 48
47: iinc 5 1
goto 51
48: StackMap locals:
StackMap stack:
iload 1
ifeq 50
49: iconst_1
istore 5
goto 51
50: StackMap locals:
StackMap stack:
aload 4
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
51: StackMap locals:
StackMap stack:
iconst_0
istore 1
52: goto 59
53: StackMap locals:
StackMap stack:
goto 55
54: StackMap locals:
StackMap stack:
aload 4
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
55: StackMap locals:
StackMap stack:
iload 5
iinc 5 -1
ifgt 54
56: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
57: iconst_0
istore 5
58: iconst_0
istore 1
59: StackMap locals:
StackMap stack:
iinc 3 1
end local 6 60: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmple 24
61: 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 62 0 path Ljava/lang/String;
3 62 1 slash Z
4 62 2 end I
5 62 3 i I
7 16 4 c C
20 62 4 canonical Ljava/lang/StringBuilder;
22 62 5 dots I
27 60 6 c C
MethodParameters:
Name Flags
path
public static java.lang.String canonicalEncodedPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 17
6: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 7: iload 4
lookupswitch { // 3
46: 10
47: 8
63: 14
default: 15
}
8: StackMap locals: int
StackMap stack:
iconst_1
istore 1
9: goto 16
10: StackMap locals:
StackMap stack:
iload 1
ifeq 12
11: goto 18
12: StackMap locals:
StackMap stack:
iconst_0
istore 1
13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
areturn
15: StackMap locals:
StackMap stack:
iconst_0
istore 1
16: StackMap locals:
StackMap stack:
iinc 3 1
end local 4 17: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 6
18: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpne 20
19: aload 0
areturn
20: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 21: aload 4
aload 0
iconst_0
iload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
22: iconst_1
istore 5
start local 5 23: iinc 3 1
24: goto 65
25: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 3
iload 2
if_icmpge 26
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
goto 27
StackMap locals:
StackMap stack:
26: iconst_0
StackMap locals:
StackMap stack: int
27: istore 6
start local 6 28: iload 6
lookupswitch { // 4
0: 29
46: 51
47: 29
63: 29
default: 58
}
29: StackMap locals: int
StackMap stack:
iload 5
tableswitch { // 0 - 2
0: 30
1: 33
2: 36
default: 43
}
30: StackMap locals:
StackMap stack:
iload 6
ifeq 48
31: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
32: goto 48
33: StackMap locals:
StackMap stack:
iload 6
bipush 63
if_icmpne 48
34: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
35: goto 48
36: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_2
if_icmpge 38
37: aconst_null
areturn
38: StackMap locals:
StackMap stack:
aload 4
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.setLength:(I)V
39: aload 4
aload 4
ldc "/"
invokevirtual java.lang.StringBuilder.lastIndexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.StringBuilder.setLength:(I)V
40: iload 6
bipush 63
if_icmpne 48
41: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
42: goto 48
43: StackMap locals:
StackMap stack:
goto 45
44: StackMap locals:
StackMap stack:
aload 4
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
45: StackMap locals:
StackMap stack:
iload 5
iinc 5 -1
ifgt 44
46: iload 6
ifeq 48
47: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
48: StackMap locals:
StackMap stack:
iconst_1
istore 1
49: iconst_0
istore 5
50: goto 64
51: StackMap locals:
StackMap stack:
iload 5
ifle 53
52: iinc 5 1
goto 56
53: StackMap locals:
StackMap stack:
iload 1
ifeq 55
54: iconst_1
istore 5
goto 56
55: StackMap locals:
StackMap stack:
aload 4
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
56: StackMap locals:
StackMap stack:
iconst_0
istore 1
57: goto 64
58: StackMap locals:
StackMap stack:
goto 60
59: StackMap locals:
StackMap stack:
aload 4
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
60: StackMap locals:
StackMap stack:
iload 5
iinc 5 -1
ifgt 59
61: aload 4
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
62: iconst_0
istore 5
63: iconst_0
istore 1
64: StackMap locals:
StackMap stack:
iinc 3 1
end local 6 65: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmple 25
66: 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 67 0 path Ljava/lang/String;
3 67 1 slash Z
4 67 2 end I
5 67 3 i I
7 17 4 c C
21 67 4 canonical Ljava/lang/StringBuilder;
23 67 5 dots I
28 65 6 c C
MethodParameters:
Name Flags
path
public static java.lang.String compactPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
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: iconst_0
istore 3
start local 3 5: goto 14
6: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 7: iload 4
lookupswitch { // 2
47: 9
63: 8
default: 12
}
8: StackMap locals: int
StackMap stack:
aload 0
areturn
9: StackMap locals:
StackMap stack:
iinc 1 1
10: iload 1
iconst_2
if_icmpne 13
11: goto 15
12: StackMap locals:
StackMap stack:
iconst_0
istore 1
13: StackMap locals:
StackMap stack:
iinc 3 1
end local 4 14: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 6
15: StackMap locals:
StackMap stack:
iload 1
iconst_2
if_icmpge 17
16: aload 0
areturn
17: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 18: aload 4
aload 0
iconst_0
iload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
19: goto 30
20: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 21: iload 5
lookupswitch { // 2
47: 24
63: 22
default: 27
}
22: StackMap locals: int
StackMap stack:
aload 4
aload 0
iload 3
iload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
23: goto 31
24: StackMap locals:
StackMap stack:
iload 1
iinc 1 1
ifne 29
25: aload 4
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
26: goto 29
27: StackMap locals:
StackMap stack:
iconst_0
istore 1
28: aload 4
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
29: StackMap locals:
StackMap stack:
iinc 3 1
end local 5 30: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 20
31: 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 32 0 path Ljava/lang/String;
3 32 1 state I
4 32 2 end I
5 32 3 i I
7 14 4 c C
18 32 4 buf Ljava/lang/StringBuilder;
21 30 5 c C
MethodParameters:
Name Flags
path
public static boolean hasScheme(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 13
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 3: iload 2
bipush 58
if_icmpne 5
4: iconst_1
ireturn
5: StackMap locals: int
StackMap stack:
iload 2
bipush 97
if_icmplt 6
iload 2
bipush 122
if_icmple 12
6: StackMap locals:
StackMap stack:
iload 2
bipush 65
if_icmplt 7
iload 2
bipush 90
if_icmple 12
7: StackMap locals:
StackMap stack:
iload 1
ifle 14
iload 2
bipush 48
if_icmplt 8
iload 2
bipush 57
if_icmple 12
8: StackMap locals:
StackMap stack:
iload 2
bipush 46
if_icmpeq 12
9: iload 2
bipush 43
if_icmpeq 12
10: iload 2
bipush 45
if_icmpeq 12
11: goto 14
end local 2 12: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
13: iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 1 14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 uri Ljava/lang/String;
1 14 1 i I
3 12 2 c C
MethodParameters:
Name Flags
uri
public static java.lang.String newURI(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
invokestatic org.eclipse.jetty.util.URIUtil.newURIBuilder:(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/StringBuilder;
astore 5
start local 5 1: aload 5
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 4
ifnull 4
aload 4
invokevirtual java.lang.String.length:()I
ifle 4
3: aload 5
bipush 63
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 5
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 5 0 scheme Ljava/lang/String;
0 5 1 server Ljava/lang/String;
0 5 2 port I
0 5 3 path Ljava/lang/String;
0 5 4 query Ljava/lang/String;
1 5 5 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
scheme
server
port
path
query
public static java.lang.StringBuilder newURIBuilder(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/StringBuilder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: aload 3
aload 0
aload 1
iload 2
invokestatic org.eclipse.jetty.util.URIUtil.appendSchemeHostPort:(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;I)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 scheme Ljava/lang/String;
0 3 1 server Ljava/lang/String;
0 3 2 port I
1 3 3 builder Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
scheme
server
port
public static void appendSchemeHostPort(java.lang.StringBuilder, java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "://"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokestatic org.eclipse.jetty.util.HostPort.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: iload 3
ifle 12
2: aload 1
dup
astore 4
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
3213448: 3
99617003: 4
default: 11
}
StackMap locals: java.lang.String
StackMap stack:
3: aload 4
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 11
StackMap locals:
StackMap stack:
4: aload 4
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 11
5: StackMap locals:
StackMap stack:
iload 3
bipush 80
if_icmpeq 12
6: aload 0
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
7: goto 12
8: StackMap locals:
StackMap stack:
iload 3
sipush 443
if_icmpeq 12
9: aload 0
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 url Ljava/lang/StringBuilder;
0 13 1 scheme Ljava/lang/String;
0 13 2 server Ljava/lang/String;
0 13 3 port I
MethodParameters:
Name Flags
url
scheme
server
port
public static void appendSchemeHostPort(java.lang.StringBuffer, java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/StringBuffer;Ljava/lang/String;Ljava/lang/String;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
dup
astore 4
monitorenter
1: aload 0
aload 1
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
ldc "://"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 2
invokestatic org.eclipse.jetty.util.HostPort.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
2: iload 3
ifle 13
3: aload 1
dup
astore 5
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
3213448: 4
99617003: 5
default: 12
}
StackMap locals: java.lang.StringBuffer java.lang.String
StackMap stack:
4: aload 5
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 12
StackMap locals:
StackMap stack:
5: aload 5
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 12
6: StackMap locals:
StackMap stack:
iload 3
bipush 80
if_icmpeq 13
7: aload 0
bipush 58
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
iload 3
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
8: goto 13
9: StackMap locals:
StackMap stack:
iload 3
sipush 443
if_icmpeq 13
10: aload 0
bipush 58
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
iload 3
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
bipush 58
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
iload 3
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
13: StackMap locals:
StackMap stack:
aload 4
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 4
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 url Ljava/lang/StringBuffer;
0 18 1 scheme Ljava/lang/String;
0 18 2 server Ljava/lang/String;
0 18 3 port I
Exception table:
from to target type
1 14 15 any
15 16 15 any
MethodParameters:
Name Flags
url
scheme
server
port
public static boolean equalsIgnoreEncodings(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 25
5: StackMap locals: java.lang.String java.lang.String int int int int
StackMap stack:
aload 0
iload 4
iinc 4 1
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 6: iload 6
istore 7
start local 7 7: iload 7
bipush 37
if_icmpne 13
8: aload 0
iload 4
invokestatic org.eclipse.jetty.util.URIUtil.lenientPercentDecode:(Ljava/lang/String;I)I
istore 7
9: iload 7
iconst_m1
if_icmpne 12
10: bipush 37
istore 7
11: goto 13
12: StackMap locals: int int
StackMap stack:
iinc 4 2
13: StackMap locals:
StackMap stack:
aload 1
iload 5
iinc 5 1
invokevirtual java.lang.String.charAt:(I)C
istore 8
start local 8 14: iload 8
istore 9
start local 9 15: iload 9
bipush 37
if_icmpne 21
16: aload 1
iload 5
invokestatic org.eclipse.jetty.util.URIUtil.lenientPercentDecode:(Ljava/lang/String;I)I
istore 9
17: iload 9
iconst_m1
if_icmpne 20
18: bipush 37
istore 9
19: goto 21
20: StackMap locals: int int
StackMap stack:
iinc 5 2
21: StackMap locals:
StackMap stack:
iload 7
bipush 47
if_icmpne 23
iload 6
iload 8
if_icmpeq 23
22: iconst_0
ireturn
23: StackMap locals:
StackMap stack:
iload 7
iload 9
if_icmpeq 25
24: iconst_0
ireturn
end local 9 end local 8 end local 7 end local 6 25: StackMap locals: java.lang.String java.lang.String int int int int
StackMap stack:
iload 4
iload 2
if_icmpge 26
iload 5
iload 3
if_icmplt 5
26: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmpne 27
iload 5
iload 3
if_icmpne 27
iconst_1
ireturn
StackMap locals:
StackMap stack:
27: iconst_0
ireturn
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 uriA Ljava/lang/String;
0 28 1 uriB Ljava/lang/String;
1 28 2 lenA I
2 28 3 lenB I
3 28 4 a I
4 28 5 b I
6 25 6 oa I
7 25 7 ca I
14 25 8 ob I
15 25 9 cb I
MethodParameters:
Name Flags
uriA
uriB
private static int lenientPercentDecode(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_2
invokestatic org.eclipse.jetty.util.StringUtil.isHex:(Ljava/lang/String;II)Z
ifeq 4
3: aload 0
iload 1
iconst_2
bipush 16
invokestatic org.eclipse.jetty.util.TypeUtil.parseInt:(Ljava/lang/String;III)I
ireturn
4: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 str Ljava/lang/String;
0 5 1 offset I
MethodParameters:
Name Flags
str
offset
public static boolean equalsIgnoreEncodings(java.net.URI, java.net.URI);
descriptor: (Ljava/net/URI;Ljava/net/URI;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.net.URI.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ifnonnull 5
3: aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ifnull 7
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
ldc "jar"
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
8: aload 0
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
astore 2
start local 2 9: aload 1
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
astore 3
start local 3 10: aload 2
aload 3
invokestatic org.eclipse.jetty.util.URIUtil.equalsIgnoreEncodings:(Ljava/net/URI;Ljava/net/URI;)Z
ireturn
end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
ifnonnull 14
12: aload 1
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
ifnull 16
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
aload 1
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
aload 1
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
invokestatic org.eclipse.jetty.util.URIUtil.equalsIgnoreEncodings:(Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 uriA Ljava/net/URI;
0 17 1 uriB Ljava/net/URI;
9 11 2 uriAssp Ljava/net/URI;
10 11 3 uriBssp Ljava/net/URI;
MethodParameters:
Name Flags
uriA
uriB
public static java.net.URI addPath(java.net.URI, java.lang.String);
descriptor: (Ljava/net/URI;Ljava/lang/String;)Ljava/net/URI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.net.URI.toASCIIString:()Ljava/lang/String;
astore 2
start local 2 1: new java.lang.StringBuilder
dup
aload 2
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
iconst_3
imul
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 2: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 3
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 47
if_icmpeq 5
4: aload 3
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.String java.lang.StringBuilder
StackMap stack:
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 4
start local 4 8: aload 3
aload 1
iload 4
invokestatic org.eclipse.jetty.util.URIUtil.encodePath:(Ljava/lang/StringBuilder;Ljava/lang/String;I)Ljava/lang/StringBuilder;
pop
9: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 uri Ljava/net/URI;
0 10 1 path Ljava/lang/String;
1 10 2 base Ljava/lang/String;
2 10 3 buf Ljava/lang/StringBuilder;
8 10 4 offset I
MethodParameters:
Name Flags
uri
path
public static java.lang.String addQueries(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.eclipse.jetty.util.StringUtil.isEmpty:(Ljava/lang/String;)Z
ifeq 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.eclipse.jetty.util.StringUtil.isEmpty:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 38
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 query1 Ljava/lang/String;
0 5 1 query2 Ljava/lang/String;
MethodParameters:
Name Flags
query1
query2
public static java.net.URI getJarSource(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/net/URI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: ldc "jar"
aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
1: aload 0
2: areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URI.getRawSchemeSpecificPart:()Ljava/lang/String;
astore 1
start local 1 4: aload 1
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 5: iload 2
iflt 7
6: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
7: StackMap locals: java.lang.String int
StackMap stack:
new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
8: areturn
end local 2 end local 1 9: StackMap locals: java.net.URI
StackMap stack: java.net.URISyntaxException
astore 1
start local 1 10: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 uri Ljava/net/URI;
4 9 1 s Ljava/lang/String;
5 9 2 bangSlash I
10 11 1 e Ljava/net/URISyntaxException;
Exception table:
from to target type
0 2 9 Class java.net.URISyntaxException
3 8 9 Class java.net.URISyntaxException
MethodParameters:
Name Flags
uri
public static java.lang.String getJarSource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 3: iload 1
iflt 4
aload 0
iconst_4
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
iconst_4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 uri Ljava/lang/String;
3 6 1 bangSlash I
MethodParameters:
Name Flags
uri
}
SourceFile: "URIUtil.java"
InnerClasses:
public NotUtf8Exception = org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception of org.eclipse.jetty.util.Utf8Appendable