public class implements jdk.incubator.http.HttpHeaders
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.http.internal.common.HttpHeadersImpl
super_class: java.lang.Object
{
private final java.util.TreeMap<java.lang.String, java.util.List<java.lang.String>> ;
descriptor: Ljava/util/TreeMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/TreeMap<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.TreeMap
dup
getstatic java.lang.String.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
public java.util.Optional<java.lang.String> firstValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
aload 1
invokevirtual java.util.TreeMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.util.List
StackMap stack:
2: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
StackMap locals:
StackMap stack: java.lang.String
3: invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
0 4 1 name Ljava/lang/String;
1 4 2 l Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
public java.util.List<java.lang.String> allValues(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
aload 1
invokevirtual java.util.TreeMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> map();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> directMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
public jdk.incubator.http.internal.common.HttpHeadersImpl ();
descriptor: ()Ljdk/incubator/http/internal/common/HttpHeadersImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: new jdk.incubator.http.internal.common.HttpHeadersImpl
dup
invokespecial jdk.incubator.http.internal.common.HttpHeadersImpl.<init>:()V
astore 1
start local 1 1: aload 1
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
astore 2
start local 2 2: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.keySet:()Ljava/util/Set;
astore 3
start local 3 3: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: jdk.incubator.http.internal.common.HttpHeadersImpl jdk.incubator.http.internal.common.HttpHeadersImpl java.util.TreeMap java.util.Set top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
aload 4
invokevirtual java.util.TreeMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 6
start local 6 6: new java.util.ArrayList
dup
aload 6
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 7
start local 7 7: aload 2
aload 4
aload 7
invokevirtual java.util.TreeMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
1 10 1 h1 Ljdk/incubator/http/internal/common/HttpHeadersImpl;
2 10 2 headers1 Ljava/util/TreeMap<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
3 10 3 keys Ljava/util/Set<Ljava/lang/String;>;
5 8 4 key Ljava/lang/String;
6 8 6 vals Ljava/util/List<Ljava/lang/String;>;
7 8 7 vals1 Ljava/util/List<Ljava/lang/String;>;
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
aload 1
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/incubator/http/internal/common/HttpHeadersImpl.lambda$0(Ljava/lang/String;)Ljava/util/List; (6)
(Ljava/lang/String;)Ljava/util/List;
invokevirtual java.util.TreeMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.List
1: aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
0 3 1 name Ljava/lang/String;
0 3 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 1: aload 3
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
aload 1
aload 3
invokevirtual java.util.TreeMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
0 4 1 name Ljava/lang/String;
0 4 2 value Ljava/lang/String;
1 4 3 values Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
value
public java.util.OptionalLong (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/OptionalLong;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
aload 1
invokevirtual java.util.TreeMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnonnull 3
2: invokestatic java.util.OptionalLong.empty:()Ljava/util/OptionalLong;
areturn
3: StackMap locals: java.util.List
StackMap stack:
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 3
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
invokestatic java.util.OptionalLong.of:(J)Ljava/util/OptionalLong;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
0 5 1 name Ljava/lang/String;
1 5 2 l Ljava/util/List<Ljava/lang/String;>;
4 5 3 v Ljava/lang/String;
MethodParameters:
Name Flags
name
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.http.internal.common.HttpHeadersImpl.headers:Ljava/util/TreeMap;
invokevirtual java.util.TreeMap.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/internal/common/HttpHeadersImpl;
private static java.util.List (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 k Ljava/lang/String;
}
SourceFile: "HttpHeadersImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles