class io.netty.handler.codec.http.DefaultHttpHeaders$2 implements io.netty.handler.codec.DefaultHeaders$NameValidator<java.lang.CharSequence>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.handler.codec.http.DefaultHttpHeaders$2
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpHeaders$2;
public void validateName(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface java.lang.CharSequence.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "empty headers are not allowed ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
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
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.netty.util.AsciiString
ifeq 8
3: aload 1
checkcast io.netty.util.AsciiString
getstatic io.netty.handler.codec.http.DefaultHttpHeaders.HEADER_NAME_VALIDATOR:Lio/netty/util/ByteProcessor;
invokevirtual io.netty.util.AsciiString.forEachByte:(Lio/netty/util/ByteProcessor;)I
pop
4: goto 13
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 2
start local 2 6: aload 2
invokestatic io.netty.util.internal.PlatformDependent.throwException:(Ljava/lang/Throwable;)V
end local 2 7: goto 13
8: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 9: goto 12
10: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
invokestatic io.netty.handler.codec.http.DefaultHttpHeaders.validateHeaderNameElement:(C)V
11: iinc 2 1
StackMap locals:
StackMap stack:
12: iload 2
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 10
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/handler/codec/http/DefaultHttpHeaders$2;
0 14 1 name Ljava/lang/CharSequence;
6 7 2 e Ljava/lang/Exception;
9 13 2 index I
Exception table:
from to target type
3 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
name
public void validateName(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.CharSequence
invokevirtual io.netty.handler.codec.http.DefaultHttpHeaders$2.validateName:(Ljava/lang/CharSequence;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/netty/handler/codec/DefaultHeaders$NameValidator<Ljava/lang/CharSequence;>;
SourceFile: "DefaultHttpHeaders.java"
EnclosingMethod: io.netty.handler.codec.http.DefaultHttpHeaders
NestHost: io.netty.handler.codec.http.DefaultHttpHeaders
InnerClasses:
public abstract NameValidator = io.netty.handler.codec.DefaultHeaders$NameValidator of io.netty.handler.codec.DefaultHeaders
io.netty.handler.codec.http.DefaultHttpHeaders$2