public abstract class io.netty.handler.codec.http.cookie.CookieEncoder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.handler.codec.http.cookie.CookieEncoder
super_class: java.lang.Object
{
protected final boolean strict;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
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
iload 1
putfield io.netty.handler.codec.http.cookie.CookieEncoder.strict:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/cookie/CookieEncoder;
0 3 1 strict Z
MethodParameters:
Name Flags
strict
protected void validateCookie(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.handler.codec.http.cookie.CookieEncoder.strict:Z
ifeq 9
1: aload 1
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.firstInvalidCookieNameOctet:(Ljava/lang/CharSequence;)I
dup
istore 3
start local 3 2: iflt 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cookie name contains an invalid char: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: int
StackMap stack:
aload 2
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.unwrapValue:(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
astore 4
start local 4 5: aload 4
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cookie value wrapping quotes are not balanced: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.CharSequence
StackMap stack:
aload 4
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.firstInvalidCookieValueOctet:(Ljava/lang/CharSequence;)I
dup
istore 3
iflt 9
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cookie value contains an invalid char: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/codec/http/cookie/CookieEncoder;
0 10 1 name Ljava/lang/String;
0 10 2 value Ljava/lang/String;
2 9 3 pos I
5 9 4 unwrappedValue Ljava/lang/CharSequence;
MethodParameters:
Name Flags
name
value
}
SourceFile: "CookieEncoder.java"