public final class io.netty.handler.codec.HeadersUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.HeadersUtils
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/HeadersUtils;
public static <K, V> java.util.List<java.lang.String> getAllAsString(io.netty.handler.codec.Headers<K, V, ?>, K);
descriptor: (Lio/netty/handler/codec/Headers;Ljava/lang/Object;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface io.netty.handler.codec.Headers.getAll:(Ljava/lang/Object;)Ljava/util/List;
astore 2
start local 2 1: new io.netty.handler.codec.HeadersUtils$1
dup
aload 2
invokespecial io.netty.handler.codec.HeadersUtils$1.<init>:(Ljava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 headers Lio/netty/handler/codec/Headers<TK;TV;*>;
0 2 1 name TK;
1 2 2 allNames Ljava/util/List<TV;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Lio/netty/handler/codec/Headers<TK;TV;*>;TK;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
headers
name
public static <K, V> java.lang.String getAsString(io.netty.handler.codec.Headers<K, V, ?>, K);
descriptor: (Lio/netty/handler/codec/Headers;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface io.netty.handler.codec.Headers.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 headers Lio/netty/handler/codec/Headers<TK;TV;*>;
0 4 1 name TK;
1 4 2 orig TV;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Lio/netty/handler/codec/Headers<TK;TV;*>;TK;)Ljava/lang/String;
MethodParameters:
Name Flags
headers
name
public static java.util.Iterator<java.util.Map$Entry<java.lang.String, java.lang.String>> iteratorAsString(java.lang.Iterable<java.util.Map$Entry<java.lang.CharSequence, java.lang.CharSequence>>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.netty.handler.codec.HeadersUtils$StringEntryIterator
dup
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokespecial io.netty.handler.codec.HeadersUtils$StringEntryIterator.<init>:(Ljava/util/Iterator;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 headers Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/CharSequence;Ljava/lang/CharSequence;>;>;
Signature: (Ljava/lang/Iterable<Ljava/util/Map$Entry<Ljava/lang/CharSequence;Ljava/lang/CharSequence;>;>;)Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;
MethodParameters:
Name Flags
headers
public static <K, V> java.lang.String toString(java.lang.Class<?>, java.util.Iterator<java.util.Map$Entry<K, V>>, int);
descriptor: (Ljava/lang/Class;Ljava/util/Iterator;I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 3
start local 3 1: iload 2
ifne 3
2: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokevirtual java.lang.String.length:()I
iconst_2
iadd
iload 2
bipush 20
imul
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
4: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
6: astore 4
start local 4 7: goto 10
8: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 9: aload 4
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 10: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: aload 4
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_2
isub
invokevirtual java.lang.StringBuilder.setLength:(I)V
12: aload 4
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 headersClass Ljava/lang/Class<*>;
0 13 1 headersIt Ljava/util/Iterator<Ljava/util/Map$Entry<TK;TV;>;>;
0 13 2 size I
1 13 3 simpleName Ljava/lang/String;
7 13 4 sb Ljava/lang/StringBuilder;
9 10 5 header Ljava/util/Map$Entry<**>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/lang/Class<*>;Ljava/util/Iterator<Ljava/util/Map$Entry<TK;TV;>;>;I)Ljava/lang/String;
MethodParameters:
Name Flags
headersClass
headersIt
size
public static java.util.Set<java.lang.String> namesAsString(io.netty.handler.codec.Headers<java.lang.CharSequence, java.lang.CharSequence, ?>);
descriptor: (Lio/netty/handler/codec/Headers;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.netty.handler.codec.HeadersUtils$CharSequenceDelegatingStringSet
dup
aload 0
invokeinterface io.netty.handler.codec.Headers.names:()Ljava/util/Set;
invokespecial io.netty.handler.codec.HeadersUtils$CharSequenceDelegatingStringSet.<init>:(Ljava/util/Set;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 headers Lio/netty/handler/codec/Headers<Ljava/lang/CharSequence;Ljava/lang/CharSequence;*>;
Signature: (Lio/netty/handler/codec/Headers<Ljava/lang/CharSequence;Ljava/lang/CharSequence;*>;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
headers
}
SourceFile: "HeadersUtils.java"
NestMembers:
io.netty.handler.codec.HeadersUtils$1 io.netty.handler.codec.HeadersUtils$CharSequenceDelegatingStringSet io.netty.handler.codec.HeadersUtils$DelegatingStringSet io.netty.handler.codec.HeadersUtils$StringEntry io.netty.handler.codec.HeadersUtils$StringEntryIterator io.netty.handler.codec.HeadersUtils$StringIterator
InnerClasses:
io.netty.handler.codec.HeadersUtils$1
private final CharSequenceDelegatingStringSet = io.netty.handler.codec.HeadersUtils$CharSequenceDelegatingStringSet of io.netty.handler.codec.HeadersUtils
private abstract DelegatingStringSet = io.netty.handler.codec.HeadersUtils$DelegatingStringSet of io.netty.handler.codec.HeadersUtils
private final StringEntry = io.netty.handler.codec.HeadersUtils$StringEntry of io.netty.handler.codec.HeadersUtils
private final StringEntryIterator = io.netty.handler.codec.HeadersUtils$StringEntryIterator of io.netty.handler.codec.HeadersUtils
private final StringIterator = io.netty.handler.codec.HeadersUtils$StringIterator of io.netty.handler.codec.HeadersUtils
public abstract Entry = java.util.Map$Entry of java.util.Map