public class io.netty.handler.codec.http.cookie.DefaultCookie implements io.netty.handler.codec.http.cookie.Cookie
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http.cookie.DefaultCookie
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean wrap;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private long maxAge;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean secure;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean httpOnly;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
ldc -9223372036854775808
putfield io.netty.handler.codec.http.cookie.DefaultCookie.maxAge:J
2: aload 1
ldc "name"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
3: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "empty name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: io.netty.handler.codec.http.cookie.DefaultCookie java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.cookie.DefaultCookie.name:Ljava/lang/String;
6: aload 0
aload 2
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.setValue:(Ljava/lang/String;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 8 1 name Ljava/lang/String;
0 8 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.cookie.DefaultCookie.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public java.lang.String value();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.cookie.DefaultCookie.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public void setValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "value"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield io.netty.handler.codec.http.cookie.DefaultCookie.value:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 2 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public boolean wrap();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.cookie.DefaultCookie.wrap:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public void setWrap(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.netty.handler.codec.http.cookie.DefaultCookie.wrap:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 2 1 wrap Z
MethodParameters:
Name Flags
wrap
public java.lang.String domain();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.cookie.DefaultCookie.domain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public void setDomain(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "domain"
aload 1
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.validateAttributeValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield io.netty.handler.codec.http.cookie.DefaultCookie.domain:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 2 1 domain Ljava/lang/String;
MethodParameters:
Name Flags
domain
public java.lang.String path();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.cookie.DefaultCookie.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public void setPath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "path"
aload 1
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.validateAttributeValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield io.netty.handler.codec.http.cookie.DefaultCookie.path:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 2 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public long maxAge();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.cookie.DefaultCookie.maxAge:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public void setMaxAge(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield io.netty.handler.codec.http.cookie.DefaultCookie.maxAge:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 2 1 maxAge J
MethodParameters:
Name Flags
maxAge
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.netty.handler.codec.http.cookie.DefaultCookie.secure:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public void setSecure(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.netty.handler.codec.http.cookie.DefaultCookie.secure:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 2 1 secure Z
MethodParameters:
Name Flags
secure
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.netty.handler.codec.http.cookie.DefaultCookie.httpOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public void setHttpOnly(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.netty.handler.codec.http.cookie.DefaultCookie.httpOnly:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 2 1 httpOnly Z
MethodParameters:
Name Flags
httpOnly
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.name:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.netty.handler.codec.http.cookie.Cookie
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast io.netty.handler.codec.http.cookie.Cookie
astore 2
start local 2 5: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.name:()Ljava/lang/String;
aload 2
invokeinterface io.netty.handler.codec.http.cookie.Cookie.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: io.netty.handler.codec.http.cookie.Cookie
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.path:()Ljava/lang/String;
ifnonnull 10
8: aload 2
invokeinterface io.netty.handler.codec.http.cookie.Cookie.path:()Ljava/lang/String;
ifnull 14
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface io.netty.handler.codec.http.cookie.Cookie.path:()Ljava/lang/String;
ifnonnull 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.path:()Ljava/lang/String;
aload 2
invokeinterface io.netty.handler.codec.http.cookie.Cookie.path:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.domain:()Ljava/lang/String;
ifnonnull 17
15: aload 2
invokeinterface io.netty.handler.codec.http.cookie.Cookie.domain:()Ljava/lang/String;
ifnull 18
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.domain:()Ljava/lang/String;
aload 2
invokeinterface io.netty.handler.codec.http.cookie.Cookie.domain:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
18: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 19 1 o Ljava/lang/Object;
5 19 2 that Lio/netty/handler/codec/http/cookie/Cookie;
MethodParameters:
Name Flags
o
public int compareTo(io.netty.handler.codec.http.cookie.Cookie);
descriptor: (Lio/netty/handler/codec/http/cookie/Cookie;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.name:()Ljava/lang/String;
aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.name:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 2
start local 2 1: iload 2
ifeq 3
2: iload 2
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.path:()Ljava/lang/String;
ifnonnull 6
4: aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.path:()Ljava/lang/String;
ifnull 11
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.path:()Ljava/lang/String;
ifnonnull 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.path:()Ljava/lang/String;
aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.path:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 2
9: iload 2
ifeq 11
10: iload 2
ireturn
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.domain:()Ljava/lang/String;
ifnonnull 14
12: aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.domain:()Ljava/lang/String;
ifnull 18
13: iconst_m1
ireturn
14: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.domain:()Ljava/lang/String;
ifnonnull 16
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.domain:()Ljava/lang/String;
aload 1
invokeinterface io.netty.handler.codec.http.cookie.Cookie.domain:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
istore 2
17: iload 2
ireturn
18: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 19 1 c Lio/netty/handler/codec/http/cookie/Cookie;
1 19 2 v I
MethodParameters:
Name Flags
c
protected java.lang.String validateValue(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.validateAttributeValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
0 1 1 name Ljava/lang/String;
0 1 2 value Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
value
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic io.netty.handler.codec.http.cookie.CookieUtil.stringBuilder:()Ljava/lang/StringBuilder;
1: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: astore 1
start local 1 5: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.domain:()Ljava/lang/String;
ifnull 8
6: aload 1
ldc ", domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.domain:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.path:()Ljava/lang/String;
ifnull 11
9: aload 1
ldc ", path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.path:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.maxAge:()J
lconst_0
lcmp
iflt 15
12: aload 1
ldc ", maxAge="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.maxAge:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
14: bipush 115
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.isSecure:()Z
ifeq 17
16: aload 1
ldc ", secure"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.isHttpOnly:()Z
ifeq 19
18: aload 1
ldc ", HTTPOnly"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/netty/handler/codec/http/cookie/DefaultCookie;
5 20 1 buf Ljava/lang/StringBuilder;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.handler.codec.http.cookie.Cookie
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.compareTo:(Lio/netty/handler/codec/http/cookie/Cookie;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DefaultCookie.java"