final class io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverterAndValidator extends io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverterAndValidator
super_class: io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverter
{
static final io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverterAndValidator INSTANCE;
descriptor: Lio/netty/handler/codec/http/DefaultHttpHeaders$HeaderValueConverterAndValidator;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverterAndValidator
dup
invokespecial io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverterAndValidator.<init>:()V
putstatic io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverterAndValidator.INSTANCE:Lio/netty/handler/codec/http/DefaultHttpHeaders$HeaderValueConverterAndValidator;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpHeaders$HeaderValueConverterAndValidator;
public java.lang.CharSequence convertObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverter.convertObject:(Ljava/lang/Object;)Ljava/lang/CharSequence;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: java.lang.CharSequence int int
StackMap stack:
aload 2
iload 3
aload 2
iload 4
invokeinterface java.lang.CharSequence.charAt:(I)C
invokestatic io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverterAndValidator.validateValueChar:(Ljava/lang/CharSequence;IC)I
istore 3
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 2
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 4
end local 4 7: iload 3
ifeq 9
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header value must not end with '\\r' or '\\n':"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/codec/http/DefaultHttpHeaders$HeaderValueConverterAndValidator;
0 10 1 value Ljava/lang/Object;
1 10 2 seq Ljava/lang/CharSequence;
2 10 3 state I
3 7 4 index I
MethodParameters:
Name Flags
value
private static int validateValueChar(java.lang.CharSequence, int, char);
descriptor: (Ljava/lang/CharSequence;IC)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
bipush -16
iand
ifne 5
1: iload 2
lookupswitch { // 3
0: 2
11: 3
12: 4
default: 5
}
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header value contains a prohibited character '\u0000': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header value contains a prohibited character '\\v': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "a header value contains a prohibited character '\\f': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 1
tableswitch { // 0 - 2
0: 6
1: 10
2: 13
default: 16
}
6: StackMap locals:
StackMap stack:
iload 2
tableswitch { // 10 - 13
10: 8
11: 9
12: 9
13: 7
default: 9
}
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_2
ireturn
9: StackMap locals:
StackMap stack:
goto 16
10: StackMap locals:
StackMap stack:
iload 2
tableswitch { // 10 - 10
10: 11
default: 12
}
11: StackMap locals:
StackMap stack:
iconst_2
ireturn
12: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "only '\\n' is allowed after '\\r': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
iload 2
lookupswitch { // 2
9: 14
32: 14
default: 15
}
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "only ' ' and '\\t' are allowed after '\\n': "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 seq Ljava/lang/CharSequence;
0 17 1 state I
0 17 2 character C
MethodParameters:
Name Flags
seq
state
character
}
SourceFile: "DefaultHttpHeaders.java"
NestHost: io.netty.handler.codec.http.DefaultHttpHeaders
InnerClasses:
private HeaderValueConverter = io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverter of io.netty.handler.codec.http.DefaultHttpHeaders
private final HeaderValueConverterAndValidator = io.netty.handler.codec.http.DefaultHttpHeaders$HeaderValueConverterAndValidator of io.netty.handler.codec.http.DefaultHttpHeaders