class implements jdk.internal.net.http.hpack.DecodingCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer
super_class: java.lang.Object
{
private static final java.util.Set<java.lang.String> ;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc ":authority"
ldc ":method"
ldc ":path"
ldc ":scheme"
ldc ":status"
invokestatic java.util.Set.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
1: putstatic jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.PSEUDO_HEADERS:Ljava/util/Set;
2: return
LocalVariableTable:
Start End Slot Name Signature
void ();
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 Ljdk/internal/net/http/Http2Connection$ValidatingHeadersConsumer;
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.pseudoHeadersEnded:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/Http2Connection$ValidatingHeadersConsumer;
public void (java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ldc ":"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
2: aload 0
getfield jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.pseudoHeadersEnded:Z
ifeq 4
3: aload 0
ldc "Unexpected pseudo-header '%s'"
aload 3
invokevirtual jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.newException:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/UncheckedIOException;
athrow
4: StackMap locals: java.lang.String
StackMap stack:
getstatic jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.PSEUDO_HEADERS:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 9
5: aload 0
ldc "Unknown pseudo-header '%s'"
aload 3
invokevirtual jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.newException:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/UncheckedIOException;
athrow
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.pseudoHeadersEnded:Z
7: aload 3
invokestatic jdk.internal.net.http.common.Utils.isValidName:(Ljava/lang/String;)Z
ifne 9
8: aload 0
ldc "Bad header name '%s'"
aload 3
invokevirtual jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.newException:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/UncheckedIOException;
athrow
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
astore 4
start local 4 10: aload 4
invokestatic jdk.internal.net.http.common.Utils.isValidValue:(Ljava/lang/String;)Z
ifne 12
11: aload 0
ldc "Bad header value '%s'"
aload 4
invokevirtual jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.newException:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/UncheckedIOException;
athrow
12: StackMap locals: java.lang.String
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/net/http/Http2Connection$ValidatingHeadersConsumer;
0 13 1 name Ljava/lang/CharSequence;
0 13 2 value Ljava/lang/CharSequence;
1 13 3 n Ljava/lang/String;
10 13 4 v Ljava/lang/String;
Exceptions:
throws java.io.UncheckedIOException
MethodParameters:
Name Flags
name
value
private java.io.UncheckedIOException (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/io/UncheckedIOException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.io.UncheckedIOException
dup
1: new java.io.IOException
dup
aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
2: invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/Http2Connection$ValidatingHeadersConsumer;
0 3 1 message Ljava/lang/String;
0 3 2 header Ljava/lang/String;
MethodParameters:
Name Flags
message
header
}
SourceFile: "Http2Connection.java"
NestHost: jdk.internal.net.http.Http2Connection
InnerClasses:
ValidatingHeadersConsumer = jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer of jdk.internal.net.http.Http2Connection