public class io.vertx.core.http.impl.CookieImpl implements io.vertx.core.http.impl.ServerCookie
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.CookieImpl
super_class: java.lang.Object
{
private final io.netty.handler.codec.http.cookie.Cookie nettyCookie;
descriptor: Lio/netty/handler/codec/http/cookie/Cookie;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean changed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean fromUserAgent;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.http.CookieSameSite sameSite;
descriptor: Lio/vertx/core/http/CookieSameSite;
flags: (0x0002) ACC_PRIVATE
static java.util.Map<java.lang.String, io.vertx.core.http.impl.ServerCookie> extractCookies(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
ifnull 9
1: getstatic io.netty.handler.codec.http.cookie.ServerCookieDecoder.STRICT:Lio/netty/handler/codec/http/cookie/ServerCookieDecoder;
aload 0
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokevirtual io.netty.handler.codec.http.cookie.ServerCookieDecoder.decode:(Ljava/lang/String;)Ljava/util/Set;
astore 1
start local 1 2: new java.util.HashMap
dup
aload 1
invokeinterface java.util.Set.size:()I
invokespecial java.util.HashMap.<init>:(I)V
astore 2
start local 2 3: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: java.lang.CharSequence java.util.Set java.util.Map top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.netty.handler.codec.http.cookie.Cookie
astore 3
start local 3 5: new io.vertx.core.http.impl.CookieImpl
dup
aload 3
invokespecial io.vertx.core.http.impl.CookieImpl.<init>:(Lio/netty/handler/codec/http/cookie/Cookie;)V
astore 5
start local 5 6: aload 2
aload 5
invokeinterface io.vertx.core.http.impl.ServerCookie.getName:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: aload 2
areturn
end local 2 end local 1 9: StackMap locals: java.lang.CharSequence
StackMap stack:
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 cookieHeader Ljava/lang/CharSequence;
2 9 1 nettyCookies Ljava/util/Set<Lio/netty/handler/codec/http/cookie/Cookie;>;
3 9 2 cookies Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/http/impl/ServerCookie;>;
5 7 3 cookie Lio/netty/handler/codec/http/cookie/Cookie;
6 7 5 ourCookie Lio/vertx/core/http/impl/ServerCookie;
Signature: (Ljava/lang/CharSequence;)Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/http/impl/ServerCookie;>;
MethodParameters:
Name Flags
cookieHeader
static io.vertx.core.http.Cookie removeCookie(java.util.Map<java.lang.String, io.vertx.core.http.impl.ServerCookie>, java.lang.String, boolean);
descriptor: (Ljava/util/Map;Ljava/lang/String;Z)Lio/vertx/core/http/Cookie;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.http.impl.ServerCookie
astore 3
start local 3 1: aload 3
ifnull 7
2: iload 2
ifeq 6
aload 3
invokeinterface io.vertx.core.http.impl.ServerCookie.isFromUserAgent:()Z
ifeq 6
3: aload 3
lconst_0
invokeinterface io.vertx.core.http.impl.ServerCookie.setMaxAge:(J)Lio/vertx/core/http/Cookie;
pop
4: aload 3
ldc ""
invokeinterface io.vertx.core.http.impl.ServerCookie.setValue:(Ljava/lang/String;)Lio/vertx/core/http/Cookie;
pop
5: goto 7
6: StackMap locals: io.vertx.core.http.impl.ServerCookie
StackMap stack:
aload 0
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cookieMap Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/http/impl/ServerCookie;>;
0 8 1 name Ljava/lang/String;
0 8 2 invalidate Z
1 8 3 cookie Lio/vertx/core/http/impl/ServerCookie;
Signature: (Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/http/impl/ServerCookie;>;Ljava/lang/String;Z)Lio/vertx/core/http/Cookie;
MethodParameters:
Name Flags
cookieMap
name
invalidate
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new io.netty.handler.codec.http.cookie.DefaultCookie
dup
aload 1
aload 2
invokespecial io.netty.handler.codec.http.cookie.DefaultCookie.<init>:(Ljava/lang/String;Ljava/lang/String;)V
putfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
2: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/CookieImpl;
0 4 1 name Ljava/lang/String;
0 4 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void <init>(io.netty.handler.codec.http.cookie.Cookie);
descriptor: (Lio/netty/handler/codec/http/cookie/Cookie;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
2: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.fromUserAgent:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/CookieImpl;
0 4 1 nettyCookie Lio/netty/handler/codec/http/cookie/Cookie;
MethodParameters:
Name Flags
nettyCookie
public java.lang.String getValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
invokeinterface io.netty.handler.codec.http.cookie.Cookie.value:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
public io.vertx.core.http.Cookie setValue(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.setValue:(Ljava/lang/String;)V
1: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/CookieImpl;
0 3 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value final
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
invokeinterface io.netty.handler.codec.http.cookie.Cookie.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
public io.vertx.core.http.Cookie setDomain(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.setDomain:(Ljava/lang/String;)V
1: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/CookieImpl;
0 3 1 domain Ljava/lang/String;
MethodParameters:
Name Flags
domain final
public java.lang.String getDomain();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
invokeinterface io.netty.handler.codec.http.cookie.Cookie.domain:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
public io.vertx.core.http.Cookie setPath(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.setPath:(Ljava/lang/String;)V
1: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/CookieImpl;
0 3 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path final
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
invokeinterface io.netty.handler.codec.http.cookie.Cookie.path:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
public io.vertx.core.http.Cookie setMaxAge(long);
descriptor: (J)Lio/vertx/core/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
lload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.setMaxAge:(J)V
1: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/CookieImpl;
0 3 1 maxAge J
MethodParameters:
Name Flags
maxAge final
public io.vertx.core.http.Cookie setSecure(boolean);
descriptor: (Z)Lio/vertx/core/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
iload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.setSecure:(Z)V
1: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/CookieImpl;
0 3 1 secure Z
MethodParameters:
Name Flags
secure final
public boolean isSecure();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
invokeinterface io.netty.handler.codec.http.cookie.Cookie.isSecure:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
public io.vertx.core.http.Cookie setHttpOnly(boolean);
descriptor: (Z)Lio/vertx/core/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
iload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.setHttpOnly:(Z)V
1: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/CookieImpl;
0 3 1 httpOnly Z
MethodParameters:
Name Flags
httpOnly final
public boolean isHttpOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
invokeinterface io.netty.handler.codec.http.cookie.Cookie.isHttpOnly:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
public io.vertx.core.http.Cookie setSameSite(io.vertx.core.http.CookieSameSite);
descriptor: (Lio/vertx/core/http/CookieSameSite;)Lio/vertx/core/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.core.http.impl.CookieImpl.sameSite:Lio/vertx/core/http/CookieSameSite;
1: aload 0
iconst_1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/CookieImpl;
0 3 1 sameSite Lio/vertx/core/http/CookieSameSite;
MethodParameters:
Name Flags
sameSite final
public io.vertx.core.http.CookieSameSite getSameSite();
descriptor: ()Lio/vertx/core/http/CookieSameSite;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.sameSite:Lio/vertx/core/http/CookieSameSite;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
public java.lang.String encode();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.sameSite:Lio/vertx/core/http/CookieSameSite;
ifnull 2
1: new java.lang.StringBuilder
dup
getstatic io.netty.handler.codec.http.cookie.ServerCookieEncoder.STRICT:Lio/netty/handler/codec/http/cookie/ServerCookieEncoder;
aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
invokevirtual io.netty.handler.codec.http.cookie.ServerCookieEncoder.encode:(Lio/netty/handler/codec/http/cookie/Cookie;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "; SameSite="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.core.http.impl.CookieImpl.sameSite:Lio/vertx/core/http/CookieSameSite;
invokevirtual io.vertx.core.http.CookieSameSite.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http.cookie.ServerCookieEncoder.STRICT:Lio/netty/handler/codec/http/cookie/ServerCookieEncoder;
aload 0
getfield io.vertx.core.http.impl.CookieImpl.nettyCookie:Lio/netty/handler/codec/http/cookie/Cookie;
invokevirtual io.netty.handler.codec.http.cookie.ServerCookieEncoder.encode:(Lio/netty/handler/codec/http/cookie/Cookie;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/CookieImpl;
public boolean isChanged();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.changed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
public void setChanged(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.vertx.core.http.impl.CookieImpl.changed:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/CookieImpl;
0 2 1 changed Z
MethodParameters:
Name Flags
changed
public boolean isFromUserAgent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.CookieImpl.fromUserAgent:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/CookieImpl;
}
SourceFile: "CookieImpl.java"