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;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
maxCookies
allowEqualInValue
cookies
public static void parseRequestCookies(int, boolean, java.util.List<java.lang.String>, java.util.Set<io.undertow.server.handlers.Cookie>);
descriptor: (IZLjava/util/List;Ljava/util/Set;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
iload 1
aload 2
aload 3
getstatic io.undertow.util.LegacyCookieSupport.COMMA_IS_SEPARATOR:Z
invokestatic io.undertow.util.Cookies.parseRequestCookies:(IZLjava/util/List;Ljava/util/Set;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 maxCookies I
0 2 1 allowEqualInValue Z
0 2 2 cookies Ljava/util/List<Ljava/lang/String;>;
0 2 3 parsedCookies Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;
Signature: (IZLjava/util/List<Ljava/lang/String;>;Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;)V
MethodParameters:
Name Flags
maxCookies
allowEqualInValue
cookies
parsedCookies
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
iload 1
aload 2
iload 3
getstatic io.undertow.util.LegacyCookieSupport.ALLOW_HTTP_SEPARATORS_IN_V0:Z
invokestatic io.undertow.util.Cookies.parseRequestCookies:(IZLjava/util/List;ZZ)Ljava/util/Map;
areturn
end local 3 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;>;
0 1 3 commaIsSeperator Z
Signature: (IZLjava/util/List<Ljava/lang/String;>;Z)Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
maxCookies
allowEqualInValue
cookies
commaIsSeperator
static void parseRequestCookies(int, boolean, java.util.List<java.lang.String>, java.util.Set<io.undertow.server.handlers.Cookie>, );
descriptor: (IZLjava/util/List;Ljava/util/Set;Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 0
iload 1
aload 2
aload 3
iload 4
getstatic io.undertow.util.LegacyCookieSupport.ALLOW_HTTP_SEPARATORS_IN_V0:Z
invokestatic io.undertow.util.Cookies.parseRequestCookies:(IZLjava/util/List;Ljava/util/Set;ZZ)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 maxCookies I
0 2 1 allowEqualInValue Z
0 2 2 cookies Ljava/util/List<Ljava/lang/String;>;
0 2 3 parsedCookies Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;
0 2 4 commaIsSeperator Z
Signature: (IZLjava/util/List<Ljava/lang/String;>;Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;Z)V
MethodParameters:
Name Flags
maxCookies
allowEqualInValue
cookies
parsedCookies
commaIsSeperator
static java.util.Map<java.lang.String, io.undertow.server.handlers.Cookie> parseRequestCookies(int, boolean, java.util.List<java.lang.String>, boolean, boolean);
descriptor: (IZLjava/util/List;ZZ)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 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.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 5
start local 5 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 6
StackMap locals: int int java.util.List int int java.util.Set top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 5: aload 6
aload 5
iload 0
iload 1
iload 3
iload 4
invokestatic io.undertow.util.Cookies.parseCookie:(Ljava/lang/String;Ljava/util/Set;IZZZ)V
end local 6 6: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
astore 6
start local 6 8: aload 5
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 11
StackMap locals: int int java.util.List int int java.util.Set java.util.Map top java.util.Iterator
StackMap stack:
9: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.undertow.server.handlers.Cookie
astore 7
start local 7 10: aload 6
aload 7
invokeinterface io.undertow.server.handlers.Cookie.getName:()Ljava/lang/String;
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 11: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: aload 6
areturn
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 13 0 maxCookies I
0 13 1 allowEqualInValue Z
0 13 2 cookies Ljava/util/List<Ljava/lang/String;>;
0 13 3 commaIsSeperator Z
0 13 4 allowHttpSepartorsV0 Z
3 13 5 parsedCookies Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;
5 6 6 cookie Ljava/lang/String;
8 13 6 retVal Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
10 11 7 cookie Lio/undertow/server/handlers/Cookie;
Signature: (IZLjava/util/List<Ljava/lang/String;>;ZZ)Ljava/util/Map<Ljava/lang/String;Lio/undertow/server/handlers/Cookie;>;
MethodParameters:
Name Flags
maxCookies
allowEqualInValue
cookies
commaIsSeperator
allowHttpSepartorsV0
static void parseRequestCookies(int, boolean, java.util.List<java.lang.String>, java.util.Set<io.undertow.server.handlers.Cookie>, boolean, );
descriptor: (IZLjava/util/List;Ljava/util/Set;ZZ)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
ifnull 5
1: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 4
StackMap locals: int int java.util.List java.util.Set int int top java.util.Iterator
StackMap stack:
2: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 3: aload 6
aload 3
iload 0
iload 1
iload 4
iload 5
invokestatic io.undertow.util.Cookies.parseCookie:(Ljava/lang/String;Ljava/util/Set;IZZZ)V
end local 6 4: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: StackMap locals: int int java.util.List java.util.Set int int
StackMap stack:
return
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 6 0 maxCookies I
0 6 1 allowEqualInValue Z
0 6 2 cookies Ljava/util/List<Ljava/lang/String;>;
0 6 3 parsedCookies Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;
0 6 4 commaIsSeperator Z
0 6 5 allowHttpSepartorsV0 Z
3 4 6 cookie Ljava/lang/String;
Signature: (IZLjava/util/List<Ljava/lang/String;>;Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;ZZ)V
MethodParameters:
Name Flags
maxCookies
allowEqualInValue
cookies
parsedCookies
commaIsSeperator
allowHttpSepartorsV0
private static void parseCookie(java.lang.String, java.util.Set<io.undertow.server.handlers.Cookie>, int, boolean, boolean, );
descriptor: (Ljava/lang/String;Ljava/util/Set;IZZZ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=19, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_0
istore 6
start local 6 1: aconst_null
astore 7
start local 7 2: iconst_0
istore 8
start local 8 3: iconst_0
istore 9
start local 9 4: aload 1
invokeinterface java.util.Set.size:()I
istore 10
start local 10 5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 11
start local 11 6: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 12
start local 12 7: iconst_0
istore 13
start local 13 8: goto 69
9: StackMap locals: java.lang.String java.util.Set int int int int int java.lang.String int int int java.util.Map java.util.Map int
StackMap stack:
aload 0
iload 13
invokevirtual java.lang.String.charAt:(I)C
istore 14
start local 14 10: iload 6
tableswitch { // 0 - 4
0: 11
1: 15
2: 29
3: 50
4: 65
default: 68
}
11: StackMap locals: int
StackMap stack:
iload 14
bipush 32
if_icmpeq 12
iload 14
bipush 9
if_icmpeq 12
iload 14
bipush 59
if_icmpne 14
12: StackMap locals:
StackMap stack:
iload 13
iconst_1
iadd
istore 8
13: goto 68
14: StackMap locals:
StackMap stack:
iconst_1
istore 6
15: StackMap locals:
StackMap stack:
iload 14
bipush 61
if_icmpne 20
16: aload 0
iload 8
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
17: iload 13
iconst_1
iadd
istore 8
18: iconst_2
istore 6
19: goto 68
StackMap locals:
StackMap stack:
20: iload 14
bipush 59
if_icmpeq 21
iload 4
ifeq 68
iload 14
bipush 44
if_icmpne 68
21: StackMap locals:
StackMap stack:
aload 7
ifnull 24
22: aload 7
aload 0
iload 8
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
iload 10
aload 11
aload 12
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 10
23: goto 26
StackMap locals:
StackMap stack:
24: getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
invokeinterface io.undertow.UndertowLogger.isTraceEnabled:()Z
ifeq 26
25: 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
26: StackMap locals:
StackMap stack:
iconst_0
istore 6
27: iload 13
iconst_1
iadd
istore 8
28: goto 68
29: StackMap locals:
StackMap stack:
iload 14
bipush 59
if_icmpeq 30
iload 4
ifeq 34
iload 14
bipush 44
if_icmpne 34
30: StackMap locals:
StackMap stack:
aload 7
aload 0
iload 8
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
iload 10
aload 11
aload 12
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 10
31: iconst_0
istore 6
32: iload 13
iconst_1
iadd
istore 8
33: goto 68
StackMap locals:
StackMap stack:
34: iload 14
bipush 34
if_icmpne 39
iload 8
iload 13
if_icmpne 39
35: iconst_0
istore 9
36: iconst_3
istore 6
37: iload 13
iconst_1
iadd
istore 8
38: goto 68
StackMap locals:
StackMap stack:
39: iload 14
bipush 61
if_icmpne 45
40: iload 3
ifne 68
iload 5
ifne 68
41: aload 7
aload 0
iload 8
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
iload 10
aload 11
aload 12
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 10
42: iconst_4
istore 6
43: iload 13
iconst_1
iadd
istore 8
44: goto 68
StackMap locals:
StackMap stack:
45: iload 14
bipush 58
if_icmpeq 68
iload 5
ifne 68
iload 14
invokestatic io.undertow.util.LegacyCookieSupport.isHttpSeparator:(C)Z
ifeq 68
46: aload 7
aload 0
iload 8
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
iload 10
aload 11
aload 12
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 10
47: iconst_4
istore 6
48: iload 13
iconst_1
iadd
istore 8
49: goto 68
50: StackMap locals:
StackMap stack:
iload 14
bipush 34
if_icmpne 56
51: aload 7
iload 9
ifeq 52
aload 0
iload 8
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic io.undertow.util.Cookies.unescapeDoubleQuotes:(Ljava/lang/String;)Ljava/lang/String;
goto 53
StackMap locals:
StackMap stack: java.lang.String
52: aload 0
iload 8
iload 13
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals: java.lang.String java.util.Set int int int int int java.lang.String int int int java.util.Map java.util.Map int int
StackMap stack: java.lang.String java.lang.String
53: iload 2
iload 10
aload 11
aload 12
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
istore 10
54: iconst_0
istore 6
55: iload 13
iconst_1
iadd
istore 8
56: StackMap locals:
StackMap stack:
iload 14
bipush 92
if_icmpne 68
iload 13
iconst_1
iadd
aload 0
invokevirtual java.lang.String.length:()I
if_icmpge 68
aload 0
iload 13
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 68
57: iload 13
iconst_2
iadd
aload 0
invokevirtual java.lang.String.length:()I
if_icmpne 59
58: goto 68
59: StackMap locals:
StackMap stack:
iload 13
iconst_2
iadd
aload 0
invokevirtual java.lang.String.length:()I
if_icmpge 62
aload 0
iload 13
iconst_2
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 59
if_icmpeq 68
60: iload 4
ifeq 62
aload 0
iload 13
iconst_2
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 44
if_icmpne 62
61: goto 68
62: StackMap locals:
StackMap stack:
iinc 13 1
63: iconst_1
istore 9
64: goto 68
65: StackMap locals:
StackMap stack:
iload 14
bipush 59
if_icmpeq 66
iload 4
ifeq 67
iload 14
bipush 44
if_icmpne 67
66: StackMap locals:
StackMap stack:
iconst_0
istore 6
67: StackMap locals:
StackMap stack:
iload 13
iconst_1
iadd
istore 8
end local 14 68: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
69: iload 13
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 9
end local 13 70: iload 6
iconst_2
if_icmpne 72
71: aload 7
aload 0
iload 8
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
iload 2
iload 10
aload 11
aload 12
invokestatic io.undertow.util.Cookies.createCookie:(Ljava/lang/String;Ljava/lang/String;IILjava/util/Map;Ljava/util/Map;)I
pop
72: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 14
goto 85
StackMap locals: java.lang.String java.util.Set int int int int int java.lang.String int int int java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
73: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 13
start local 13 74: new io.undertow.server.handlers.CookieImpl
dup
aload 13
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 13
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 15
start local 15 75: aload 12
ldc "$Domain"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 16
start local 16 76: aload 16
ifnull 78
77: aload 15
aload 16
invokeinterface io.undertow.server.handlers.Cookie.setDomain:(Ljava/lang/String;)Lio/undertow/server/handlers/Cookie;
pop
78: StackMap locals: java.lang.String java.util.Set int int int int int java.lang.String int 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 12
ldc "$Version"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 17
start local 17 79: aload 17
ifnull 81
80: aload 15
aload 17
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokeinterface io.undertow.server.handlers.Cookie.setVersion:(I)Lio/undertow/server/handlers/Cookie;
pop
81: StackMap locals: java.lang.String
StackMap stack:
aload 12
ldc "$Path"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 18
start local 18 82: aload 18
ifnull 84
83: aload 15
aload 18
invokeinterface io.undertow.server.handlers.Cookie.setPath:(Ljava/lang/String;)Lio/undertow/server/handlers/Cookie;
pop
84: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 15
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 18 end local 17 end local 16 end local 15 end local 13 85: StackMap locals: java.lang.String java.util.Set int int int int int java.lang.String int int int java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 73
86: return
end local 12 end local 11 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 87 0 cookie Ljava/lang/String;
0 87 1 parsedCookies Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;
0 87 2 maxCookies I
0 87 3 allowEqualInValue Z
0 87 4 commaIsSeperator Z
0 87 5 allowHttpSepartorsV0 Z
1 87 6 state I
2 87 7 name Ljava/lang/String;
3 87 8 start I
4 87 9 containsEscapedQuotes Z
5 87 10 cookieCount I
6 87 11 cookies Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
7 87 12 additional Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
8 70 13 i I
10 68 14 c C
74 85 13 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
75 85 15 c Lio/undertow/server/handlers/Cookie;
76 85 16 domain Ljava/lang/String;
79 85 17 version Ljava/lang/String;
82 85 18 path Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/Set<Lio/undertow/server/handlers/Cookie;>;IZZZ)V
MethodParameters:
Name Flags
cookie final
parsedCookies final
maxCookies
allowEqualInValue
commaIsSeperator
allowHttpSepartorsV0
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 static java.lang.String unescapeDoubleQuotes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, 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:
aload 0
invokevirtual java.lang.String.length:()I
newarray 5
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 11
6: StackMap locals: char[] int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpne 8
iload 3
iconst_1
iadd
aload 0
invokevirtual java.lang.String.length:()I
if_icmpge 8
aload 0
iload 3
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 8
7: iinc 3 1
8: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
castore
9: iinc 2 1
10: iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 3 12: new java.lang.String
dup
aload 1
iconst_0
iload 2
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 value Ljava/lang/String;
3 13 1 tmp [C
4 13 2 dest I
5 12 3 i I
MethodParameters:
Name Flags
value 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