public abstract class io.netty.handler.codec.http.cookie.CookieDecoder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.handler.codec.http.cookie.CookieDecoder
super_class: java.lang.Object
{
private final io.netty.util.internal.logging.InternalLogger logger;
descriptor: Lio/netty/util/internal/logging/InternalLogger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean strict;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, 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
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
putfield io.netty.handler.codec.http.cookie.CookieDecoder.logger:Lio/netty/util/internal/logging/InternalLogger;
2: aload 0
iload 1
putfield io.netty.handler.codec.http.cookie.CookieDecoder.strict:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/cookie/CookieDecoder;
0 4 1 strict Z
MethodParameters:
Name Flags
strict
protected io.netty.handler.codec.http.cookie.DefaultCookie initCookie(java.lang.String, int, int, int, int);
descriptor: (Ljava/lang/String;IIII)Lio/netty/handler/codec/http/cookie/DefaultCookie;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
iconst_m1
if_icmpeq 1
iload 2
iload 3
if_icmpne 3
1: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Skipping cookie with null name"
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;)V
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmpne 6
4: aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Skipping cookie with null value"
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;)V
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 1
iload 4
iload 5
invokestatic java.nio.CharBuffer.wrap:(Ljava/lang/CharSequence;II)Ljava/nio/CharBuffer;
astore 6
start local 6 7: aload 6
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.unwrapValue:(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
astore 7
start local 7 8: aload 7
ifnonnull 13
9: aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Skipping cookie because starting quotes are not properly balanced in '{}'"
10: aload 6
11: invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
12: aconst_null
areturn
13: StackMap locals: java.lang.CharSequence java.lang.CharSequence
StackMap stack:
aload 1
iload 2
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 14: aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.strict:Z
ifeq 21
aload 8
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.firstInvalidCookieNameOctet:(Ljava/lang/CharSequence;)I
dup
istore 9
start local 9 15: iflt 21
16: aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.logger:Lio/netty/util/internal/logging/InternalLogger;
invokeinterface io.netty.util.internal.logging.InternalLogger.isDebugEnabled:()Z
ifeq 20
17: aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Skipping cookie because name '{}' contains invalid char '{}'"
18: aload 8
aload 8
iload 9
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
19: invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
20: StackMap locals: java.lang.String int
StackMap stack:
aconst_null
areturn
end local 9 21: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.lang.CharSequence.length:()I
iload 5
iload 4
isub
if_icmpeq 22
iconst_1
goto 23
StackMap locals:
StackMap stack:
22: iconst_0
StackMap locals:
StackMap stack: int
23: istore 10
start local 10 24: aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.strict:Z
ifeq 31
aload 7
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.firstInvalidCookieValueOctet:(Ljava/lang/CharSequence;)I
dup
istore 9
start local 9 25: iflt 31
26: aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.logger:Lio/netty/util/internal/logging/InternalLogger;
invokeinterface io.netty.util.internal.logging.InternalLogger.isDebugEnabled:()Z
ifeq 30
27: aload 0
getfield io.netty.handler.codec.http.cookie.CookieDecoder.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Skipping cookie because value '{}' contains invalid char '{}'"
28: aload 7
aload 7
iload 9
invokeinterface java.lang.CharSequence.charAt:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
29: invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
30: StackMap locals: int int
StackMap stack:
aconst_null
areturn
end local 9 31: StackMap locals: io.netty.handler.codec.http.cookie.CookieDecoder java.lang.String int int int int java.lang.CharSequence java.lang.CharSequence java.lang.String top int
StackMap stack:
new io.netty.handler.codec.http.cookie.DefaultCookie
dup
aload 8
aload 7
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokespecial io.netty.handler.codec.http.cookie.DefaultCookie.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 11
start local 11 32: aload 11
iload 10
invokevirtual io.netty.handler.codec.http.cookie.DefaultCookie.setWrap:(Z)V
33: aload 11
areturn
end local 11 end local 10 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 34 0 this Lio/netty/handler/codec/http/cookie/CookieDecoder;
0 34 1 header Ljava/lang/String;
0 34 2 nameBegin I
0 34 3 nameEnd I
0 34 4 valueBegin I
0 34 5 valueEnd I
7 34 6 wrappedValue Ljava/lang/CharSequence;
8 34 7 unwrappedValue Ljava/lang/CharSequence;
14 34 8 name Ljava/lang/String;
15 21 9 invalidOctetPos I
25 31 9 invalidOctetPos I
24 34 10 wrap Z
32 34 11 cookie Lio/netty/handler/codec/http/cookie/DefaultCookie;
MethodParameters:
Name Flags
header
nameBegin
nameEnd
valueBegin
valueEnd
}
SourceFile: "CookieDecoder.java"