class jdk.internal.net.http.Stream$HeadersConsumer extends jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.net.http.Stream$HeadersConsumer
super_class: jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer
{
final jdk.internal.net.http.Stream this$0;
descriptor: Ljdk/internal/net/http/Stream;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.internal.net.http.Stream);
descriptor: (Ljdk/internal/net/http/Stream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // jdk.internal.net.http.Stream$HeadersConsumer this
0: .line 1361
aload 0 /* this */
aload 1
putfield jdk.internal.net.http.Stream$HeadersConsumer.this$0:Ljdk/internal/net/http/Stream;
aload 0 /* this */
invokespecial jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.<init>:()V
return
end local 0 // jdk.internal.net.http.Stream$HeadersConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/net/http/Stream$HeadersConsumer;
MethodParameters:
Name Flags
this$0 final
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // jdk.internal.net.http.Stream$HeadersConsumer this
0: .line 1364
aload 0 /* this */
invokespecial jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.reset:()V
1: .line 1365
aload 0 /* this */
getfield jdk.internal.net.http.Stream$HeadersConsumer.this$0:Ljdk/internal/net/http/Stream;
getfield jdk.internal.net.http.Stream.responseHeadersBuilder:Ljdk/internal/net/http/common/HttpHeadersBuilder;
invokevirtual jdk.internal.net.http.common.HttpHeadersBuilder.clear:()V
2: .line 1366
aload 0 /* this */
getfield jdk.internal.net.http.Stream$HeadersConsumer.this$0:Ljdk/internal/net/http/Stream;
getfield jdk.internal.net.http.Stream.debug:Ljdk/internal/net/http/common/Logger;
ldc "Response builder cleared, ready to receive new headers."
invokeinterface jdk.internal.net.http.common.Logger.log:(Ljava/lang/String;)V
3: .line 1367
return
end local 0 // jdk.internal.net.http.Stream$HeadersConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/Stream$HeadersConsumer;
public void onDecoded(java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 // jdk.internal.net.http.Stream$HeadersConsumer this
start local 1 // java.lang.CharSequence name
start local 2 // java.lang.CharSequence value
0: .line 1373
aload 1 /* name */
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
astore 3 /* n */
start local 3 // java.lang.String n
1: .line 1374
aload 2 /* value */
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
astore 4 /* v */
start local 4 // java.lang.String v
2: .line 1375
aload 0 /* this */
aload 3 /* n */
aload 4 /* v */
invokespecial jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer.onDecoded:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
3: .line 1376
aload 0 /* this */
getfield jdk.internal.net.http.Stream$HeadersConsumer.this$0:Ljdk/internal/net/http/Stream;
getfield jdk.internal.net.http.Stream.responseHeadersBuilder:Ljdk/internal/net/http/common/HttpHeadersBuilder;
aload 3 /* n */
aload 4 /* v */
invokevirtual jdk.internal.net.http.common.HttpHeadersBuilder.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
4: .line 1377
invokestatic jdk.internal.net.http.common.Log.headers:()Z
ifeq 8
invokestatic jdk.internal.net.http.common.Log.trace:()Z
ifeq 8
5: .line 1378
ldc "RECEIVED HEADER (streamid={0}): {1}: {2}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
6: .line 1379
aload 0 /* this */
getfield jdk.internal.net.http.Stream$HeadersConsumer.this$0:Ljdk/internal/net/http/Stream;
getfield jdk.internal.net.http.Stream.streamid:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 3 /* n */
aastore
dup
iconst_2
aload 4 /* v */
aastore
7: .line 1378
invokestatic jdk.internal.net.http.common.Log.logTrace:(Ljava/lang/String;[Ljava/lang/Object;)V
8: .line 1381
StackMap locals: java.lang.String java.lang.String
StackMap stack:
return
end local 4 // java.lang.String v
end local 3 // java.lang.String n
end local 2 // java.lang.CharSequence value
end local 1 // java.lang.CharSequence name
end local 0 // jdk.internal.net.http.Stream$HeadersConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/net/http/Stream$HeadersConsumer;
0 9 1 name Ljava/lang/CharSequence;
0 9 2 value Ljava/lang/CharSequence;
1 9 3 n Ljava/lang/String;
2 9 4 v Ljava/lang/String;
Exceptions:
throws java.io.UncheckedIOException
MethodParameters:
Name Flags
name
value
}
SourceFile: "Stream.java"
NestHost: jdk.internal.net.http.Stream
InnerClasses:
ValidatingHeadersConsumer = jdk.internal.net.http.Http2Connection$ValidatingHeadersConsumer of jdk.internal.net.http.Http2Connection
private HeadersConsumer = jdk.internal.net.http.Stream$HeadersConsumer of jdk.internal.net.http.Stream