public class org.jboss.resteasy.util.Encode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.util.Encode
super_class: java.lang.Object
{
private static final java.lang.String UTF_8;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern PARAM_REPLACEMENT;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] pathEncoding;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] pathSegmentEncoding;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] matrixParameterEncoding;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] queryNameValueEncoding;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] queryStringEncoding;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern nonCodes;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern encodedChars;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern encodedCharsMulti;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
putstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
1: ldc "_resteasy_uri_parameter"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.jboss.resteasy.util.Encode.PARAM_REPLACEMENT:Ljava/util/regex/Pattern;
2: sipush 128
anewarray java.lang.String
putstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
3: sipush 128
anewarray java.lang.String
putstatic org.jboss.resteasy.util.Encode.pathSegmentEncoding:[Ljava/lang/String;
4: sipush 128
anewarray java.lang.String
putstatic org.jboss.resteasy.util.Encode.matrixParameterEncoding:[Ljava/lang/String;
5: sipush 128
anewarray java.lang.String
putstatic org.jboss.resteasy.util.Encode.queryNameValueEncoding:[Ljava/lang/String;
6: sipush 128
anewarray java.lang.String
putstatic org.jboss.resteasy.util.Encode.queryStringEncoding:[Ljava/lang/String;
7: iconst_0
istore 0
start local 0 8: goto 16
9: StackMap locals: int
StackMap stack:
iload 0
bipush 97
if_icmplt 10
iload 0
bipush 122
if_icmpgt 10
goto 15
10: StackMap locals:
StackMap stack:
iload 0
bipush 65
if_icmplt 11
iload 0
bipush 90
if_icmpgt 11
goto 15
11: StackMap locals:
StackMap stack:
iload 0
bipush 48
if_icmplt 12
iload 0
bipush 57
if_icmpgt 12
goto 15
12: StackMap locals:
StackMap stack:
iload 0
i2c
lookupswitch { // 18
33: 13
36: 13
38: 13
39: 13
40: 13
41: 13
42: 13
43: 13
44: 13
45: 13
46: 13
47: 13
58: 13
59: 13
61: 13
64: 13
95: 13
126: 13
default: 14
}
13: StackMap locals:
StackMap stack:
goto 15
14: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
iload 0
iload 0
i2c
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;)Ljava/lang/String;
aastore
15: StackMap locals:
StackMap stack:
iinc 0 1
StackMap locals:
StackMap stack:
16: iload 0
sipush 128
if_icmplt 9
end local 0 17: getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
bipush 32
ldc "%20"
aastore
18: getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
iconst_0
getstatic org.jboss.resteasy.util.Encode.matrixParameterEncoding:[Ljava/lang/String;
iconst_0
getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: getstatic org.jboss.resteasy.util.Encode.matrixParameterEncoding:[Ljava/lang/String;
bipush 59
ldc "%3B"
aastore
20: getstatic org.jboss.resteasy.util.Encode.matrixParameterEncoding:[Ljava/lang/String;
bipush 61
ldc "%3D"
aastore
21: getstatic org.jboss.resteasy.util.Encode.matrixParameterEncoding:[Ljava/lang/String;
bipush 47
ldc "%2F"
aastore
22: getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
iconst_0
getstatic org.jboss.resteasy.util.Encode.pathSegmentEncoding:[Ljava/lang/String;
iconst_0
getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
23: getstatic org.jboss.resteasy.util.Encode.pathSegmentEncoding:[Ljava/lang/String;
bipush 47
ldc "%2F"
aastore
24: iconst_0
istore 0
start local 0 25: goto 35
26: StackMap locals:
StackMap stack:
iload 0
bipush 97
if_icmplt 27
iload 0
bipush 122
if_icmpgt 27
goto 34
27: StackMap locals:
StackMap stack:
iload 0
bipush 65
if_icmplt 28
iload 0
bipush 90
if_icmpgt 28
goto 34
28: StackMap locals:
StackMap stack:
iload 0
bipush 48
if_icmplt 29
iload 0
bipush 57
if_icmpgt 29
goto 34
29: StackMap locals:
StackMap stack:
iload 0
i2c
lookupswitch { // 6
32: 31
45: 30
46: 30
63: 30
95: 30
126: 30
default: 33
}
30: StackMap locals:
StackMap stack:
goto 34
31: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.util.Encode.queryNameValueEncoding:[Ljava/lang/String;
iload 0
ldc "+"
aastore
32: goto 34
33: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.util.Encode.queryNameValueEncoding:[Ljava/lang/String;
iload 0
iload 0
i2c
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;)Ljava/lang/String;
aastore
34: StackMap locals:
StackMap stack:
iinc 0 1
StackMap locals:
StackMap stack:
35: iload 0
sipush 128
if_icmplt 26
end local 0 36: iconst_0
istore 0
start local 0 37: goto 47
38: StackMap locals:
StackMap stack:
iload 0
bipush 97
if_icmplt 39
iload 0
bipush 122
if_icmpgt 39
goto 46
39: StackMap locals:
StackMap stack:
iload 0
bipush 65
if_icmplt 40
iload 0
bipush 90
if_icmpgt 40
goto 46
40: StackMap locals:
StackMap stack:
iload 0
bipush 48
if_icmplt 41
iload 0
bipush 57
if_icmpgt 41
goto 46
41: StackMap locals:
StackMap stack:
iload 0
i2c
lookupswitch { // 20
32: 43
33: 42
36: 42
38: 42
39: 42
40: 42
41: 42
42: 42
43: 42
44: 42
45: 42
46: 42
47: 42
58: 42
59: 42
61: 42
63: 42
64: 42
95: 42
126: 42
default: 45
}
42: StackMap locals:
StackMap stack:
goto 46
43: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.util.Encode.queryStringEncoding:[Ljava/lang/String;
iload 0
ldc "%20"
aastore
44: goto 46
45: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.util.Encode.queryStringEncoding:[Ljava/lang/String;
iload 0
iload 0
i2c
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;)Ljava/lang/String;
aastore
46: StackMap locals:
StackMap stack:
iinc 0 1
StackMap locals:
StackMap stack:
47: iload 0
sipush 128
if_icmplt 38
end local 0 48: ldc "%([^a-fA-F0-9]|[a-fA-F0-9]$|$|[a-fA-F0-9][^a-fA-F0-9])"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.jboss.resteasy.util.Encode.nonCodes:Ljava/util/regex/Pattern;
49: ldc "%([a-fA-F0-9][a-fA-F0-9])"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.jboss.resteasy.util.Encode.encodedChars:Ljava/util/regex/Pattern;
50: ldc "((%[a-fA-F0-9][a-fA-F0-9])+)"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.jboss.resteasy.util.Encode.encodedCharsMulti:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
8 17 0 i I
25 36 0 i I
37 48 0 i I
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.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/util/Encode;
public static java.lang.String encodeQueryString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jboss.resteasy.util.Encode.queryStringEncoding:[Ljava/lang/String;
invokestatic org.jboss.resteasy.util.Encode.encodeValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static java.lang.String encodePath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
invokestatic org.jboss.resteasy.util.Encode.encodeValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static java.lang.String encodePathSegment(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jboss.resteasy.util.Encode.pathSegmentEncoding:[Ljava/lang/String;
invokestatic org.jboss.resteasy.util.Encode.encodeValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static java.lang.String encodeFragment(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jboss.resteasy.util.Encode.queryStringEncoding:[Ljava/lang/String;
invokestatic org.jboss.resteasy.util.Encode.encodeValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static java.lang.String encodeMatrixParam(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jboss.resteasy.util.Encode.matrixParameterEncoding:[Ljava/lang/String;
invokestatic org.jboss.resteasy.util.Encode.encodeValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static java.lang.String encodeQueryParam(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jboss.resteasy.util.Encode.queryNameValueEncoding:[Ljava/lang/String;
invokestatic org.jboss.resteasy.util.Encode.encodeValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static java.lang.String decodePath(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: getstatic org.jboss.resteasy.util.Encode.encodedCharsMulti:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: getstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
astore 4
start local 4 4: goto 10
5: StackMap locals: java.lang.String java.util.regex.Matcher int java.lang.StringBuilder java.nio.charset.CharsetDecoder
StackMap stack:
aload 3
aload 0
iload 2
aload 1
invokevirtual java.util.regex.Matcher.start:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
6: aload 4
invokevirtual java.nio.charset.CharsetDecoder.reset:()Ljava/nio/charset/CharsetDecoder;
pop
7: aload 1
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
aload 4
invokestatic org.jboss.resteasy.util.Encode.decodeBytes:(Ljava/lang/String;Ljava/nio/charset/CharsetDecoder;)Ljava/lang/String;
astore 5
start local 5 8: aload 3
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
invokevirtual java.util.regex.Matcher.end:()I
istore 2
end local 5 10: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.regex.Matcher.find:()Z
ifne 5
11: aload 3
aload 0
iload 2
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
12: aload 3
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 13 0 path Ljava/lang/String;
1 13 1 matcher Ljava/util/regex/Matcher;
2 13 2 start I
3 13 3 builder Ljava/lang/StringBuilder;
4 13 4 decoder Ljava/nio/charset/CharsetDecoder;
8 10 5 decoded Ljava/lang/String;
MethodParameters:
Name Flags
path
private static java.lang.String decodeBytes(java.lang.String, java.nio.charset.CharsetDecoder);
descriptor: (Ljava/lang/String;Ljava/nio/charset/CharsetDecoder;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.jboss.resteasy.util.Encode.encodedChars:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 1: aload 0
invokevirtual java.lang.String.length:()I
iconst_3
idiv
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 2: goto 5
3: StackMap locals: java.util.regex.Matcher java.nio.ByteBuffer
StackMap stack:
aload 2
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
istore 4
start local 4 4: aload 3
iload 4
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.regex.Matcher.find:()Z
ifne 3
6: aload 3
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
7: aload 1
aload 3
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
8: areturn
9: StackMap locals:
StackMap stack: java.nio.charset.CharacterCodingException
astore 4
start local 4 10: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 enc Ljava/lang/String;
0 11 1 decoder Ljava/nio/charset/CharsetDecoder;
1 11 2 matcher Ljava/util/regex/Matcher;
2 11 3 bytes Ljava/nio/ByteBuffer;
4 5 4 b I
10 11 4 e Ljava/nio/charset/CharacterCodingException;
Exception table:
from to target type
7 8 9 Class java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
enc
decoder
public static java.lang.String encodeNonCodes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: getstatic org.jboss.resteasy.util.Encode.nonCodes:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: java.util.regex.Matcher java.lang.StringBuilder int
StackMap stack:
aload 1
invokevirtual java.util.regex.Matcher.start:()I
istore 4
start local 4 5: aload 2
aload 0
iload 3
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
ldc "%25"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: iload 4
iconst_1
iadd
istore 3
end local 4 8: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.util.regex.Matcher.find:(I)Z
ifne 4
9: aload 2
aload 0
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 2
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 11 0 string Ljava/lang/String;
1 11 1 matcher Ljava/util/regex/Matcher;
2 11 2 builder Ljava/lang/StringBuilder;
3 11 3 idx I
5 8 4 start I
MethodParameters:
Name Flags
string
public static boolean savePathParams(java.lang.String, java.lang.StringBuilder, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/lang/StringBuilder;Ljava/util/List;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 0
invokestatic org.jboss.resteasy.util.PathHelper.replaceEnclosedCurlyBracesCS:(Ljava/lang/String;)Ljava/lang/CharSequence;
astore 4
start local 4 2: getstatic org.jboss.resteasy.util.PathHelper.URI_TEMPLATE_PATTERN:Ljava/util/regex/Pattern;
aload 4
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: goto 11
5: StackMap locals: java.lang.String java.lang.StringBuilder java.util.List int java.lang.CharSequence java.util.regex.Matcher int
StackMap stack:
aload 1
aload 4
iload 6
aload 5
invokevirtual java.util.regex.Matcher.start:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
6: iconst_1
istore 3
7: aload 5
invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
astore 7
start local 7 8: aload 2
aload 7
invokestatic org.jboss.resteasy.util.PathHelper.recoverEnclosedCurlyBraces:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 1
ldc "_resteasy_uri_parameter"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 5
invokevirtual java.util.regex.Matcher.end:()I
istore 6
end local 7 11: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.regex.Matcher.find:()Z
ifne 5
12: aload 1
aload 4
iload 6
aload 4
invokeinterface java.lang.CharSequence.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
13: iload 3
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 segmentString Ljava/lang/String;
0 14 1 newSegment Ljava/lang/StringBuilder;
0 14 2 params Ljava/util/List<Ljava/lang/String;>;
1 14 3 foundParam Z
2 14 4 segment Ljava/lang/CharSequence;
3 14 5 matcher Ljava/util/regex/Matcher;
4 14 6 start I
8 11 7 group Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/lang/StringBuilder;Ljava/util/List<Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
segmentString
newSegment
params
public static java.lang.String encodeValue(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=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 3: aload 0
aload 4
aload 2
invokestatic org.jboss.resteasy.util.Encode.savePathParams:(Ljava/lang/String;Ljava/lang/StringBuilder;Ljava/util/List;)Z
ifeq 6
4: iconst_1
istore 3
5: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 0
6: StackMap locals: java.util.ArrayList int java.lang.StringBuilder
StackMap stack:
aload 0
aload 1
iconst_0
invokestatic org.jboss.resteasy.util.Encode.encodeFromArray:(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
astore 5
start local 5 7: aload 5
invokestatic org.jboss.resteasy.util.Encode.encodeNonCodes:(Ljava/lang/String;)Ljava/lang/String;
astore 5
8: aload 5
astore 0
9: iload 3
ifeq 11
10: aload 0
aload 2
invokestatic org.jboss.resteasy.util.Encode.pathParamReplacement:(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;
astore 0
11: StackMap locals: java.lang.String
StackMap stack:
aload 0
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 12 0 segment Ljava/lang/String;
0 12 1 encoding [Ljava/lang/String;
1 12 2 params Ljava/util/ArrayList<Ljava/lang/String;>;
2 12 3 foundParam Z
3 12 4 newSegment Ljava/lang/StringBuilder;
7 12 5 result Ljava/lang/String;
MethodParameters:
Name Flags
segment
encoding
public static java.lang.String encodePathAsIs(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
getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
iconst_1
invokestatic org.jboss.resteasy.util.Encode.encodeFromArray:(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 segment Ljava/lang/String;
MethodParameters:
Name Flags
segment
public static java.lang.String encodePathSaveEncodings(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
getstatic org.jboss.resteasy.util.Encode.pathEncoding:[Ljava/lang/String;
iconst_0
invokestatic org.jboss.resteasy.util.Encode.encodeFromArray:(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic org.jboss.resteasy.util.Encode.encodeNonCodes:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 segment Ljava/lang/String;
1 3 1 result Ljava/lang/String;
MethodParameters:
Name Flags
segment
public static java.lang.String encodePathSegmentAsIs(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
getstatic org.jboss.resteasy.util.Encode.pathSegmentEncoding:[Ljava/lang/String;
iconst_1
invokestatic org.jboss.resteasy.util.Encode.encodeFromArray:(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 segment Ljava/lang/String;
MethodParameters:
Name Flags
segment
public static java.lang.String encodePathSegmentSaveEncodings(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
getstatic org.jboss.resteasy.util.Encode.pathSegmentEncoding:[Ljava/lang/String;
iconst_0
invokestatic org.jboss.resteasy.util.Encode.encodeFromArray:(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic org.jboss.resteasy.util.Encode.encodeNonCodes:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 segment Ljava/lang/String;
1 3 1 result Ljava/lang/String;
MethodParameters:
Name Flags
segment
public static java.lang.String encodeQueryParamAsIs(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
getstatic org.jboss.resteasy.util.Encode.queryNameValueEncoding:[Ljava/lang/String;
iconst_1
invokestatic org.jboss.resteasy.util.Encode.encodeFromArray:(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 nameOrValue Ljava/lang/String;
MethodParameters:
Name Flags
nameOrValue
public static java.lang.String encodeQueryParamSaveEncodings(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
getstatic org.jboss.resteasy.util.Encode.queryNameValueEncoding:[Ljava/lang/String;
iconst_0
invokestatic org.jboss.resteasy.util.Encode.encodeFromArray:(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic org.jboss.resteasy.util.Encode.encodeNonCodes:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 segment Ljava/lang/String;
1 3 1 result Ljava/lang/String;
MethodParameters:
Name Flags
segment
public static java.lang.String encodeFragmentAsIs(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
getstatic org.jboss.resteasy.util.Encode.queryNameValueEncoding:[Ljava/lang/String;
iconst_1
invokestatic org.jboss.resteasy.util.Encode.encodeFromArray:(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 nameOrValue Ljava/lang/String;
MethodParameters:
Name Flags
nameOrValue
protected static java.lang.String encodeFromArray(java.lang.String, java.lang.String[], boolean);
descriptor: (Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=7, 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: iconst_0
istore 4
start local 4 2: goto 13
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 4: iload 2
ifne 7
iload 5
bipush 37
if_icmpne 7
5: aload 3
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: goto 12
7: StackMap locals: int
StackMap stack:
iload 5
aload 1
invokestatic org.jboss.resteasy.util.Encode.encode:(I[Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 8: aload 6
ifnonnull 11
9: aload 3
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: goto 12
11: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 end local 5 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 4 14: 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 15 0 segment Ljava/lang/String;
0 15 1 encodingMap [Ljava/lang/String;
0 15 2 encodePercent Z
1 15 3 result Ljava/lang/StringBuilder;
2 14 4 i I
4 12 5 currentChar C
8 12 6 encoding Ljava/lang/String;
MethodParameters:
Name Flags
segment
encodingMap
encodePercent
private static java.lang.String encode(int, java.lang.String[]);
descriptor: (I[Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 0
aload 1
arraylength
if_icmpge 3
1: aload 1
iload 0
aaload
astore 2
start local 2 2: goto 7
end local 2 3: StackMap locals:
StackMap stack:
iload 0
i2c
invokestatic java.lang.Character.toString:(C)Ljava/lang/String;
getstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: goto 7
end local 2 5: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 6: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 7: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 zhar I
0 8 1 encodingMap [Ljava/lang/String;
2 3 2 encoded Ljava/lang/String;
4 5 2 encoded Ljava/lang/String;
7 8 2 encoded Ljava/lang/String;
6 7 3 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
3 4 5 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
zhar
encodingMap
public static java.lang.String pathParamReplacement(java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: getstatic org.jboss.resteasy.util.Encode.PARAM_REPLACEMENT:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 9
5: StackMap locals: java.lang.String java.util.List java.lang.StringBuilder java.util.regex.Matcher int int
StackMap stack:
aload 2
aload 0
iload 5
aload 3
invokevirtual java.util.regex.Matcher.start:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
6: aload 1
iload 4
iinc 4 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 2
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 3
invokevirtual java.util.regex.Matcher.end:()I
istore 5
end local 6 9: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.regex.Matcher.find:()Z
ifne 5
10: aload 2
aload 0
iload 5
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
11: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 0
12: aload 0
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 13 0 segment Ljava/lang/String;
0 13 1 params Ljava/util/List<Ljava/lang/String;>;
1 13 2 newSegment Ljava/lang/StringBuilder;
2 13 3 matcher Ljava/util/regex/Matcher;
3 13 4 i I
4 13 5 start I
7 9 6 replacement Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
segment
params
public static javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String> decode(javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;)Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: new org.jboss.resteasy.specimpl.MultivaluedMapImpl
dup
invokespecial org.jboss.resteasy.specimpl.MultivaluedMapImpl.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface javax.ws.rs.core.MultivaluedMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 4: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
getstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 5
getstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jboss.resteasy.specimpl.MultivaluedMapImpl.add:(Ljava/lang/Object;Ljava/lang/Object;)V
7: goto 10
8: StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List java.lang.String java.util.Iterator
StackMap stack: java.io.UnsupportedEncodingException
astore 7
start local 7 9: new java.lang.RuntimeException
dup
aload 7
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 end local 5 10: StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 4 end local 2 11: StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 map Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
1 13 1 decoded Lorg/jboss/resteasy/specimpl/MultivaluedMapImpl<Ljava/lang/String;Ljava/lang/String;>;
3 11 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
4 11 4 values Ljava/util/List<Ljava/lang/String;>;
6 10 5 value Ljava/lang/String;
9 10 7 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
6 7 8 Class java.io.UnsupportedEncodingException
Signature: (Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;)Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
map
public static javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String> decode(javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>, java.lang.String);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;Ljava/lang/String;)Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
new org.jboss.resteasy.specimpl.MultivaluedMapImpl
dup
invokespecial org.jboss.resteasy.specimpl.MultivaluedMapImpl.<init>:()V
astore 2
start local 2 3: aload 0
invokeinterface javax.ws.rs.core.MultivaluedMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: javax.ws.rs.core.MultivaluedMap java.lang.String org.jboss.resteasy.specimpl.MultivaluedMapImpl top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 5: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 6: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: javax.ws.rs.core.MultivaluedMap java.lang.String org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 8: aload 2
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 6
aload 1
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jboss.resteasy.specimpl.MultivaluedMapImpl.add:(Ljava/lang/Object;Ljava/lang/Object;)V
9: goto 12
10: StackMap locals: javax.ws.rs.core.MultivaluedMap java.lang.String org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List java.lang.String java.util.Iterator
StackMap stack: java.io.UnsupportedEncodingException
astore 8
start local 8 11: new java.lang.RuntimeException
dup
aload 8
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 end local 6 12: StackMap locals: javax.ws.rs.core.MultivaluedMap java.lang.String org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 5 end local 3 13: StackMap locals: javax.ws.rs.core.MultivaluedMap java.lang.String org.jboss.resteasy.specimpl.MultivaluedMapImpl top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
14: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 map Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
0 15 1 charset Ljava/lang/String;
3 15 2 decoded Lorg/jboss/resteasy/specimpl/MultivaluedMapImpl<Ljava/lang/String;Ljava/lang/String;>;
5 13 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
6 13 5 values Ljava/util/List<Ljava/lang/String;>;
8 12 6 value Ljava/lang/String;
11 12 8 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
8 9 10 Class java.io.UnsupportedEncodingException
Signature: (Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/String;)Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
map
charset
public static javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String> encode(javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;)Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: new org.jboss.resteasy.specimpl.MultivaluedMapImpl
dup
invokespecial org.jboss.resteasy.specimpl.MultivaluedMapImpl.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface javax.ws.rs.core.MultivaluedMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 4: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
getstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 5
getstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jboss.resteasy.specimpl.MultivaluedMapImpl.add:(Ljava/lang/Object;Ljava/lang/Object;)V
7: goto 10
8: StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List java.lang.String java.util.Iterator
StackMap stack: java.io.UnsupportedEncodingException
astore 7
start local 7 9: new java.lang.RuntimeException
dup
aload 7
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 end local 5 10: StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl java.util.Map$Entry java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 4 end local 2 11: StackMap locals: javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.specimpl.MultivaluedMapImpl top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 map Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
1 13 1 decoded Lorg/jboss/resteasy/specimpl/MultivaluedMapImpl<Ljava/lang/String;Ljava/lang/String;>;
3 11 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
4 11 4 values Ljava/util/List<Ljava/lang/String;>;
6 10 5 value Ljava/lang/String;
9 10 7 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
6 7 8 Class java.io.UnsupportedEncodingException
Signature: (Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;)Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
map
public static java.lang.String decode(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
getstatic org.jboss.resteasy.util.Encode.UTF_8:Ljava/lang/String;
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 string Ljava/lang/String;
3 4 1 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
0 1 2 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
string
}
SourceFile: "Encode.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map