public class org.glassfish.jersey.message.internal.CookiesParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.jersey.message.internal.CookiesParser
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/jersey/message/internal/CookiesParser;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic org.glassfish.jersey.message.internal.CookiesParser.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public static java.util.Map<java.lang.String, javax.ws.rs.core.Cookie> parseCookies(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=12, args_size=1
start local 0 0: aload 0
ldc "[;,]"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aload 1
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 29
StackMap locals: java.lang.String java.lang.String[] java.util.Map int org.glassfish.jersey.message.internal.CookiesParser$MutableCookie top int int java.lang.String[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5
start local 5 6: aload 5
ldc "="
iconst_2
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
astore 9
start local 9 7: aload 9
arraylength
ifle 8
aload 9
iconst_0
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
goto 9
StackMap locals: java.lang.String java.lang.String[] java.util.Map int org.glassfish.jersey.message.internal.CookiesParser$MutableCookie java.lang.String int int java.lang.String[] java.lang.String[]
StackMap stack:
8: ldc ""
StackMap locals:
StackMap stack: java.lang.String
9: astore 10
start local 10 10: aload 9
arraylength
iconst_1
if_icmple 11
aload 9
iconst_1
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
goto 12
StackMap locals: java.lang.String
StackMap stack:
11: ldc ""
StackMap locals:
StackMap stack: java.lang.String
12: astore 11
start local 11 13: aload 11
ldc "\""
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
aload 11
ldc "\""
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 15
aload 11
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 15
14: aload 11
iconst_1
aload 11
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 11
15: StackMap locals: java.lang.String
StackMap stack:
aload 10
ldc "$"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 20
16: aload 2
aload 4
invokestatic org.glassfish.jersey.message.internal.CookiesParser.checkSimilarCookieName:(Ljava/util/Map;Lorg/glassfish/jersey/message/internal/CookiesParser$MutableCookie;)V
17: new org.glassfish.jersey.message.internal.CookiesParser$MutableCookie
dup
aload 10
aload 11
invokespecial org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
18: aload 4
iload 3
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.version:I
19: goto 28
StackMap locals:
StackMap stack:
20: aload 10
ldc "$Version"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 23
21: aload 11
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
22: goto 28
StackMap locals:
StackMap stack:
23: aload 10
ldc "$Path"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 26
aload 4
ifnull 26
24: aload 4
aload 11
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.path:Ljava/lang/String;
25: goto 28
StackMap locals:
StackMap stack:
26: aload 10
ldc "$Domain"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 28
aload 4
ifnull 28
27: aload 4
aload 11
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.domain:Ljava/lang/String;
end local 11 end local 10 end local 9 end local 5 28: StackMap locals: java.lang.String java.lang.String[] java.util.Map int org.glassfish.jersey.message.internal.CookiesParser$MutableCookie top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
29: iload 6
iload 7
if_icmplt 5
30: aload 2
aload 4
invokestatic org.glassfish.jersey.message.internal.CookiesParser.checkSimilarCookieName:(Ljava/util/Map;Lorg/glassfish/jersey/message/internal/CookiesParser$MutableCookie;)V
31: 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 32 0 header Ljava/lang/String;
1 32 1 bites [Ljava/lang/String;
2 32 2 cookies Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Cookie;>;
3 32 3 version I
4 32 4 cookie Lorg/glassfish/jersey/message/internal/CookiesParser$MutableCookie;
6 28 5 bite Ljava/lang/String;
7 28 9 crumbs [Ljava/lang/String;
10 28 10 name Ljava/lang/String;
13 28 11 value Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Cookie;>;
MethodParameters:
Name Flags
header
private static void checkSimilarCookieName(java.util.Map<java.lang.String, javax.ws.rs.core.Cookie>, org.glassfish.jersey.message.internal.CookiesParser$MutableCookie);
descriptor: (Ljava/util/Map;Lorg/glassfish/jersey/message/internal/CookiesParser$MutableCookie;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 6
1: aload 0
aload 1
getfield org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.name:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 5
2: aload 1
getfield org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 0
aload 1
getfield org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.name:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.ws.rs.core.Cookie
invokevirtual javax.ws.rs.core.Cookie.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmple 6
3: aload 0
aload 1
getfield org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.name:Ljava/lang/String;
aload 1
invokevirtual org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.getImmutableCookie:()Ljavax/ws/rs/core/Cookie;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.name:Ljava/lang/String;
aload 1
invokevirtual org.glassfish.jersey.message.internal.CookiesParser$MutableCookie.getImmutableCookie:()Ljavax/ws/rs/core/Cookie;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 cookies Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Cookie;>;
0 7 1 cookie Lorg/glassfish/jersey/message/internal/CookiesParser$MutableCookie;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Cookie;>;Lorg/glassfish/jersey/message/internal/CookiesParser$MutableCookie;)V
MethodParameters:
Name Flags
cookies
cookie
public static javax.ws.rs.core.Cookie parseCookie(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Cookie;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.glassfish.jersey.message.internal.CookiesParser.parseCookies:(Ljava/lang/String;)Ljava/util/Map;
astore 1
start local 1 1: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast javax.ws.rs.core.Cookie
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 header Ljava/lang/String;
1 2 1 cookies Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Cookie;>;
MethodParameters:
Name Flags
header
public static javax.ws.rs.core.NewCookie parseNewCookie(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/NewCookie;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
ldc "[;,]"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 44
4: StackMap locals: java.lang.String[] org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie int
StackMap stack:
aload 1
iload 3
aaload
ldc "="
iconst_2
invokevirtual java.lang.String.split:(Ljava/lang/String;I)[Ljava/lang/String;
astore 4
start local 4 5: aload 4
arraylength
ifle 6
aload 4
iconst_0
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
goto 7
StackMap locals: java.lang.String[]
StackMap stack:
6: ldc ""
StackMap locals:
StackMap stack: java.lang.String
7: astore 5
start local 5 8: aload 4
arraylength
iconst_1
if_icmple 9
aload 4
iconst_1
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
goto 10
StackMap locals: java.lang.String
StackMap stack:
9: ldc ""
StackMap locals:
StackMap stack: java.lang.String
10: astore 6
start local 6 11: aload 6
ldc "\""
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
aload 6
ldc "\""
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 13
aload 6
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 13
12: aload 6
iconst_1
aload 6
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
13: StackMap locals: java.lang.String
StackMap stack:
aload 2
ifnonnull 16
14: new org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie
dup
aload 5
aload 6
invokespecial org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
15: goto 43
16: StackMap locals:
StackMap stack:
aload 5
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 7
start local 7 17: aload 7
ldc "comment"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
18: aload 2
aload 6
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.comment:Ljava/lang/String;
19: goto 43
StackMap locals: java.lang.String
StackMap stack:
20: aload 7
ldc "domain"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 23
21: aload 2
aload 6
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.domain:Ljava/lang/String;
22: goto 43
StackMap locals:
StackMap stack:
23: aload 7
ldc "max-age"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 26
24: aload 2
aload 6
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.maxAge:I
25: goto 43
StackMap locals:
StackMap stack:
26: aload 7
ldc "path"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 29
27: aload 2
aload 6
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.path:Ljava/lang/String;
28: goto 43
StackMap locals:
StackMap stack:
29: aload 7
ldc "secure"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
30: aload 2
iconst_1
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.secure:Z
31: goto 43
StackMap locals:
StackMap stack:
32: aload 7
ldc "version"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 35
33: aload 2
aload 6
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.version:I
34: goto 43
StackMap locals:
StackMap stack:
35: aload 7
ldc "httponly"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 38
36: aload 2
iconst_1
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.httpOnly:Z
37: goto 43
StackMap locals:
StackMap stack:
38: aload 7
ldc "expires"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 43
39: aload 2
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iinc 3 1
iload 3
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.glassfish.jersey.message.internal.HttpDateFormat.readDate:(Ljava/lang/String;)Ljava/util/Date;
putfield org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.expiry:Ljava/util/Date;
40: goto 43
StackMap locals:
StackMap stack: java.text.ParseException
41: astore 8
start local 8 42: getstatic org.glassfish.jersey.message.internal.CookiesParser.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 6
invokestatic org.glassfish.jersey.internal.LocalizationMessages.ERROR_NEWCOOKIE_EXPIRES:(Ljava/lang/Object;)Ljava/lang/String;
aload 8
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 8 end local 7 end local 6 end local 5 end local 4 43: StackMap locals: java.lang.String java.lang.String[] org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie int
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
44: iload 3
aload 1
arraylength
if_icmplt 4
end local 3 45: aload 2
invokevirtual org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie.getImmutableNewCookie:()Ljavax/ws/rs/core/NewCookie;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 header Ljava/lang/String;
1 46 1 bites [Ljava/lang/String;
2 46 2 cookie Lorg/glassfish/jersey/message/internal/CookiesParser$MutableNewCookie;
3 45 3 i I
5 43 4 crumbs [Ljava/lang/String;
8 43 5 name Ljava/lang/String;
11 43 6 value Ljava/lang/String;
17 43 7 param Ljava/lang/String;
42 43 8 e Ljava/text/ParseException;
Exception table:
from to target type
39 40 41 Class java.text.ParseException
MethodParameters:
Name Flags
header
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/jersey/message/internal/CookiesParser;
}
SourceFile: "CookiesParser.java"
NestMembers:
org.glassfish.jersey.message.internal.CookiesParser$MutableCookie org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private MutableCookie = org.glassfish.jersey.message.internal.CookiesParser$MutableCookie of org.glassfish.jersey.message.internal.CookiesParser
private MutableNewCookie = org.glassfish.jersey.message.internal.CookiesParser$MutableNewCookie of org.glassfish.jersey.message.internal.CookiesParser