final class implements org.apache.tomcat.util.http.ResponseUtil$Adapter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.tomcat.util.http.ResponseUtil$HeaderAdapter
super_class: java.lang.Object
{
private final org.apache.tomcat.util.http.MimeHeaders ;
descriptor: Lorg/apache/tomcat/util/http/MimeHeaders;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void (org.apache.tomcat.util.http.MimeHeaders);
descriptor: (Lorg/apache/tomcat/util/http/MimeHeaders;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.tomcat.util.http.ResponseUtil$HeaderAdapter.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/ResponseUtil$HeaderAdapter;
0 3 1 headers Lorg/apache/tomcat/util/http/MimeHeaders;
MethodParameters:
Name Flags
headers
public java.util.Collection<java.lang.String> getHeaders(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.http.ResponseUtil$HeaderAdapter.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.values:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: goto 4
3: StackMap locals: java.util.Enumeration java.util.List
StackMap stack:
aload 3
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/http/ResponseUtil$HeaderAdapter;
0 6 1 name Ljava/lang/String;
1 6 2 values Ljava/util/Enumeration<Ljava/lang/String;>;
2 6 3 result Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/Collection<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
public void (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.http.ResponseUtil$HeaderAdapter.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.setValue:(Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/ResponseUtil$HeaderAdapter;
0 2 1 name Ljava/lang/String;
0 2 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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.http.ResponseUtil$HeaderAdapter.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.addValue:(Ljava/lang/String;)Lorg/apache/tomcat/util/buf/MessageBytes;
aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/ResponseUtil$HeaderAdapter;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
}
SourceFile: "ResponseUtil.java"
NestHost: org.apache.tomcat.util.http.ResponseUtil
InnerClasses:
private abstract Adapter = org.apache.tomcat.util.http.ResponseUtil$Adapter of org.apache.tomcat.util.http.ResponseUtil
private final HeaderAdapter = org.apache.tomcat.util.http.ResponseUtil$HeaderAdapter of org.apache.tomcat.util.http.ResponseUtil