public class io.undertow.util.Cookies
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.undertow.util.Cookies
super_class: java.lang.Object
{
public static final java.lang.String DOMAIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$Domain"
public static final java.lang.String VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$Version"
public static final java.lang.String PATH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$Path"
public static io.undertow.server.handlers.Cookie parseSetCookieHeader(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/undertow/server/handlers/Cookie;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 45
6: StackMap locals: java.lang.String java.lang.String io.undertow.server.handlers.CookieImpl int int int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 7: iload 3
tableswitch { // 0 - 2
0: 8
1: 23
2: 36
default: 44
}
8: StackMap locals: int
StackMap stack:
iload 6
bipush 61
if_icmpne 13
9: aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
10: iload 5
iconst_1
iadd
istore 4
11: iconst_1
istore 3
12: goto 44
StackMap locals:
StackMap stack:
13: iload 6
bipush 59
if_icmpeq 14
iload 6
bipush 32
if_icmpne 17
StackMap locals:
StackMap stack:
14: iload 4
iload 5
if_icmpne 17
15: iinc 4 1
16: goto 44
StackMap locals:
StackMap stack:
17: iload 6
bipush 59
if_icmpne 44
18: aload 2
ifnonnull 20
19: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
aload 0
invokeinterface io.undertow.UndertowMessages.couldNotParseCookie:(Ljava/lang/String;)Ljava/lang/IllegalArgumentException;
athrow
20: StackMap locals:
StackMap stack:
aload 2
aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aconst_null
invokestatic io.undertow.util.Cookies.handleValue:(Lio/undertow/server/handlers/CookieImpl;Ljava/lang/String;Ljava/lang/String;)V
21: iload 5
iconst_1
iadd
istore 4
22: goto 44
23: StackMap locals:
StackMap stack:
iload 6
bipush 59
if_icmpne 32
24: aload 2
ifnonnull 27
25: new io.undertow.server.handlers.CookieImpl
dup
aload 1
aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial io.undertow.server.handlers.CookieImpl.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
26: goto 28
27: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic io.undertow.util.Cookies.handleValue:(Lio/undertow/server/handlers/CookieImpl;Ljava/lang/String;Ljava/lang/String;)V
28: StackMap locals:
StackMap stack:
iconst_0
istore 3
29: iload 5
iconst_1
iadd
istore 4
30: aconst_null
astore 1
31: goto 44
StackMap locals:
StackMap stack:
32: iload 6
bipush 34
if_icmpne 44
iload 4
iload 5
if_icmpne 44
33: iinc 4 1
34: iconst_2
istore 3
35: goto 44
36: StackMap locals:
StackMap stack:
iload 6
bipush 34
if_icmpne 44
37: aload 2
ifnonnull 40
38: new io.undertow.server.handlers.CookieImpl
dup
aload 1
aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial io.undertow.server.handlers.CookieImpl.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
39: goto 41
40: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic io.undertow.util.Cookies.handleValue:(Lio/undertow/server/handlers/CookieImpl;Ljava/lang/String;Ljava/lang/String;)V
41: StackMap locals:
StackMap stack:
iconst_0
istore 3
42: iload 5
iconst_1
iadd
istore 4
43: aconst_null
astore 1
end local 6 44: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
45: iload 5
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 5 46: aload 1
ifnonnull 50
47: iload 4
aload 0
invokevirtual java.lang.String.length:()I
if_icmpeq 57
48: aload 2
aload 0
iload 4
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aconst_null
invokestatic io.undertow.util.Cookies.handleValue:(Lio/undertow/server/handlers/CookieImpl;Ljava/lang/String;Ljava/lang/String;)V
49: goto 57
50: StackMap locals:
StackMap stack:
iload 4
aload 0
invokevirtual java.lang.String.length:()I
if_icmpeq 56
51: aload 2
ifnonnull 54
52: new io.undertow.server.handlers.CookieImpl
dup
aload 1
aload 0
iload 4
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial io.undertow.server.handlers.CookieImpl.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
53: goto 57
54: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 0
iload 4
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic io.undertow.util.Cookies.handleValue:(Lio/undertow/server/handlers/CookieImpl;Ljava/lang/String;Ljava/lang/String;)V
55: goto 57
56: StackMap locals:
StackMap stack:
aload 2
aload 1
aconst_null
invokestatic io.undertow.util.Cookies.handleValue:(Lio/undertow/server/handlers/CookieImpl;Ljava/lang/String;Ljava/lang/String;)V
57: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 headerValue Ljava/lang/String;
1 58 1 key Ljava/lang/String;
2 58 2 cookie Lio/undertow/server/handlers/CookieImpl;
3 58 3 state I
4 58 4 current I
5 46 5 i I
7 44 6 c C
MethodParameters:
Name Flags
headerValue final
private static void handleValue(io.undertow.server.handlers.CookieImpl, java.lang.String, java.lang.String);
descriptor: (Lio/undertow/server/handlers/CookieImpl;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "path"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
aload 2
invokevirtual io.undertow.server.handlers.CookieImpl.setPath:(Ljava/lang/String;)Lio/undertow/server/handlers/CookieImpl;
pop
2: goto 30
StackMap locals:
StackMap stack:
3: aload 1
ldc "domain"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
aload 2
invokevirtual io.undertow.server.handlers.CookieImpl.setDomain:(Ljava/lang/String;)Lio/undertow/server/handlers/CookieImpl;
pop
5: goto 30
StackMap locals:
StackMap stack:
6: aload 1
ldc "max-age"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
7: aload 0
aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.undertow.server.handlers.CookieImpl.setMaxAge:(Ljava/lang/Integer;)Lio/undertow/server/handlers/CookieImpl;
pop
8: goto 30
StackMap locals:
StackMap stack:
9: aload 1
ldc "expires"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
10: aload 0
aload 2
invokestatic io.undertow.util.DateUtils.parseDate:(Ljava/lang/String;)Ljava/util/Date;
invokevirtual io.undertow.server.handlers.CookieImpl.setExpires:(Ljava/util/Date;)Lio/undertow/server/handlers/CookieImpl;
pop
11: goto 30
StackMap locals:
StackMap stack:
12: aload 1
ldc "discard"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
13: aload 0
iconst_1
invokevirtual io.undertow.server.handlers.CookieImpl.setDiscard:(Z)Lio/undertow/server/handlers/CookieImpl;
pop
14: goto 30
StackMap locals:
StackMap stack:
15: aload 1
ldc "secure"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
16: aload 0
iconst_1
invokevirtual io.undertow.server.handlers.CookieImpl.setSecure:(Z)Lio/undertow/server/handlers/CookieImpl;
pop
17: goto 30
StackMap locals:
StackMap stack:
18: aload 1
ldc "httpOnly"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
19: aload 0
iconst_1
invokevirtual io.undertow.server.handlers.CookieImpl.setHttpOnly:(Z)Lio/undertow/server/handlers/CookieImpl;
pop
20: goto 30
StackMap locals:
StackMap stack:
21: aload 1
ldc "version"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 24
22: aload 0
aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokevirtual io.undertow.server.handlers.CookieImpl.setVersion:(I)Lio/undertow/server/handlers/CookieImpl;
pop
23: goto 30
StackMap locals:
StackMap stack:
24: aload 1
ldc "comment"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 27
25: aload 0
aload 2
invokevirtual io.undertow.server.handlers.CookieImpl.setComment:(Ljava/lang/String;)Lio/undertow/server/handlers/Cookie;
pop
26: goto 30
StackMap locals:
StackMap stack:
27: aload 1
ldc "samesite"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 30
28: aload 0
iconst_1
invokevirtual io.undertow.server.handlers.CookieImpl.setSameSite:(Z)Lio/undertow/server/handlers/Cookie;
pop
29: aload 0
aload 2
invokevirtual io.undertow.server.handlers.CookieImpl.setSameSiteMode:(Ljava/lang/String;)Lio/undertow/server/handlers/Cookie;
pop
30: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 cookie Lio/undertow/server/handlers/CookieImpl;
0 31 1 key Ljava/lang/String;
0 31 2 value Ljava/lang/String;
MethodParameters:
Name Flags
cookie
key
value
public static java.util.Map<java.lang.String, io.undertow.server.handlers.Cookie> parseRequestCookies(int, boolean, java.util.List<java.lang.String>);
descriptor: (IZLjava/util/List;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iload 1
aload 2
getstatic io.undertow.util.LegacyCookieSupport.COMMA_IS_SEPARATOR:Z
invokestatic io.undertow.util.Cookies.parseRequestCookies:(IZLjava/util/List;Z)Ljava/util/Map;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 maxCookies I
0 1 1 allowEqualInValue Z
0 1 2 cookies Ljava/util/List<Ljava/lang/String;>;
Signature: (IZLjava/util/List<Ljava/lang/String;>;)Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
MethodParameters:
Name Flags
maxCookies
allowEqualInValue
cookies
static java.util.Map<java.lang.String, io.undertow.server.handlers.Cookie> parseRequestCookies(int, boolean, java.util.List<java.lang.String>, boolean);
descriptor: (IZLjava/util/List;Z)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnonnull 2
1: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
astore 4
start local 4 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 6
StackMap locals: int int java.util.List int java.util.Map top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: aload 5
aload 4
iload 0
iload 1
iload 3
invokestatic io.undertow.util.Cookies.parseCookie:(Ljava/lang/String;Ljava/util/Map;IZZ)V
end local 5 6: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 maxCookies I
0 8 1 allowEqualInValue Z
0 8 2 cookies Ljava/util/List<Ljava/lang/String;>;
0 8 3 commaIsSeperator Z
3 8 4 parsedCookies Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
5 6 5 cookie Ljava/lang/String;
Signature: (IZLjava/util/List<Ljava/lang/String;>;Z)Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
MethodParameters:
Name Flags
maxCookies
allowEqualInValue
cookies
commaIsSeperator
private static void parseCookie(java.lang.String, java.util.Map<java.lang.String, io.undertow.server.handlers.Cookie>, int, boolean, );
descriptor: (Ljava/lang/String;Ljava/util/Map;IZZ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=17, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: aconst_null
astore 6
start local 6 2: iconst_0
istore 7
start local 7 3: aload 1
invokeinterface java.util.Map.size:()I
istore 8
start local 8 4: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 9
start local 9 5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 10
start local 10 6: iconst_0
istore 11
start local 11 7: goto 51
8: StackMap locals: java.lang.String java.util.Map int int int int java.lang.String int int java.util.Map java.util.Map int
StackMap stack:
aload 0
iload 11
invokevirtual java.lang.String.charAt:(I)C
istore 12
start local 12 9: iload 5
tableswitch { // 0 - 4
0: 10
1: 14
2: 28
3: 42
4: 47
default: 50
}
10: StackMap locals: int
StackMap stack:
iload 12
bipush 32
if_icmpeq 11
iload 12
bipush 9
if_icmpeq 11
iload 12
bipush 59
if_icmpne 13
11: StackMap locals:
StackMap stack:
iload 11
iconst_1
iadd
istore 7
12: goto 50
13: StackMap locals:
StackMap stack:
iconst_1
istore 5
14: StackMap locals:
StackMap stack:
iload 12
bipush 61
if_icmpne 19
15: aload 0
iload 7
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
16: iload 11
iconst_1
iadd
istore 7
17: iconst_2
istore 5
18: goto 50
StackMap locals:
StackMap stack:
19: iload 12
bipush 59
if_icmpeq 20
iload 4
ifeq 50
iload 12
bipush 44
if_icmpne 50
20: StackMap locals:
StackMap stack:
aload 6
ifnull 23
21: aload 6
aload 0
iload 7
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
iload 8
aload 9
aload 10
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 8
22: goto 25
StackMap locals:
StackMap stack:
23: getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
invokeinterface io.undertow.UndertowLogger.isTraceEnabled:()Z
ifeq 25
24: getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
new java.lang.StringBuilder
dup
ldc "Ignoring invalid cookies in header "
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;
invokeinterface io.undertow.UndertowLogger.trace:(Ljava/lang/Object;)V
25: StackMap locals:
StackMap stack:
iconst_0
istore 5
26: iload 11
iconst_1
iadd
istore 7
27: goto 50
28: StackMap locals:
StackMap stack:
iload 12
bipush 59
if_icmpeq 29
iload 4
ifeq 33
iload 12
bipush 44
if_icmpne 33
29: StackMap locals:
StackMap stack:
aload 6
aload 0
iload 7
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
iload 8
aload 9
aload 10
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 8
30: iconst_0
istore 5
31: iload 11
iconst_1
iadd
istore 7
32: goto 50
StackMap locals:
StackMap stack:
33: iload 12
bipush 34
if_icmpne 37
iload 7
iload 11
if_icmpne 37
34: iconst_3
istore 5
35: iload 11
iconst_1
iadd
istore 7
36: goto 50
StackMap locals:
StackMap stack:
37: iload 3
ifne 50
iload 12
bipush 61
if_icmpne 50
38: aload 6
aload 0
iload 7
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
iload 8
aload 9
aload 10
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 8
39: iconst_4
istore 5
40: iload 11
iconst_1
iadd
istore 7
41: goto 50
42: StackMap locals:
StackMap stack:
iload 12
bipush 34
if_icmpne 50
43: aload 6
aload 0
iload 7
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
iload 8
aload 9
aload 10
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 8
44: iconst_0
istore 5
45: iload 11
iconst_1
iadd
istore 7
46: goto 50
47: StackMap locals:
StackMap stack:
iload 12
bipush 59
if_icmpeq 48
iload 4
ifeq 49
iload 12
bipush 44
if_icmpne 49
48: StackMap locals:
StackMap stack:
iconst_0
istore 5
49: StackMap locals:
StackMap stack:
iload 11
iconst_1
iadd
istore 7
end local 12 50: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
51: iload 11
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 8
end local 11 52: iload 5
iconst_2
if_icmpne 54
53: aload 6
aload 0
iload 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
iload 2
iload 8
aload 9
aload 10
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
pop
54: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 67
StackMap locals: java.lang.String java.util.Map int int int int java.lang.String int int java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
55: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 11
start local 11 56: new io.undertow.server.handlers.CookieImpl
dup
aload 11
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 11
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial io.undertow.server.handlers.CookieImpl.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 13
start local 13 57: aload 10
ldc "$Domain"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 58: aload 14
ifnull 60
59: aload 13
aload 14
invokeinterface io.undertow.server.handlers.Cookie.setDomain:(Ljava/lang/String;)Lio/undertow/server/handlers/Cookie;
pop
60: StackMap locals: java.lang.String java.util.Map int int int int java.lang.String int int java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator io.undertow.server.handlers.Cookie java.lang.String
StackMap stack:
aload 10
ldc "$Version"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 15
start local 15 61: aload 15
ifnull 63
62: aload 13
aload 15
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokeinterface io.undertow.server.handlers.Cookie.setVersion:(I)Lio/undertow/server/handlers/Cookie;
pop
63: StackMap locals: java.lang.String
StackMap stack:
aload 10
ldc "$Path"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 16
start local 16 64: aload 16
ifnull 66
65: aload 13
aload 16
invokeinterface io.undertow.server.handlers.Cookie.setPath:(Ljava/lang/String;)Lio/undertow/server/handlers/Cookie;
pop
66: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 13
invokeinterface io.undertow.server.handlers.Cookie.getName:()Ljava/lang/String;
aload 13
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 16 end local 15 end local 14 end local 13 end local 11 67: StackMap locals: java.lang.String java.util.Map int int int int java.lang.String int int java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 55
68: return
end local 10 end local 9 end local 8 end local 7 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 69 0 cookie Ljava/lang/String;
0 69 1 parsedCookies Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
0 69 2 maxCookies I
0 69 3 allowEqualInValue Z
0 69 4 commaIsSeperator Z
1 69 5 state I
2 69 6 name Ljava/lang/String;
3 69 7 start I
4 69 8 cookieCount I
5 69 9 cookies Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 69 10 additional Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
7 52 11 i I
9 50 12 c C
56 67 11 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
57 67 13 c Lio/undertow/server/handlers/Cookie;
58 67 14 domain Ljava/lang/String;
61 67 15 version Ljava/lang/String;
64 67 16 path Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;IZZ)V
MethodParameters:
Name Flags
cookie final
parsedCookies final
maxCookies
allowEqualInValue
commaIsSeperator
private static int createCookie(java.lang.String, java.lang.String, int, int, java.util.Map<java.lang.String, java.lang.String>, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 36
if_icmpne 5
1: aload 5
aload 0
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 3
2: iload 3
ireturn
3: StackMap locals:
StackMap stack:
aload 5
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: iload 3
ireturn
5: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpne 7
6: getstatic io.undertow.UndertowMessages.MESSAGES:Lio/undertow/UndertowMessages;
iload 2
invokeinterface io.undertow.UndertowMessages.tooManyCookies:(I)Ljava/lang/IllegalStateException;
athrow
7: StackMap locals:
StackMap stack:
aload 4
aload 0
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 9
8: iload 3
ireturn
9: StackMap locals:
StackMap stack:
aload 4
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: iinc 3 1
iload 3
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 11 0 name Ljava/lang/String;
0 11 1 value Ljava/lang/String;
0 11 2 maxCookies I
0 11 3 cookieCount I
0 11 4 cookies Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 11 5 additional Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/lang/String;Ljava/lang/String;IILjava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)I
MethodParameters:
Name Flags
name final
value final
maxCookies
cookieCount
cookies final
additional final
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 Lio/undertow/util/Cookies;
}
SourceFile: "Cookies.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map