class org.apache.tomcat.util.http.ValuesEnumerator implements java.util.Enumeration<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.tomcat.util.http.ValuesEnumerator
super_class: java.lang.Object
{
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int size;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.tomcat.util.buf.MessageBytes next;
descriptor: Lorg/apache/tomcat/util/buf/MessageBytes;
flags: (0x0002) ACC_PRIVATE
private final org.apache.tomcat.util.http.MimeHeaders ;
descriptor: Lorg/apache/tomcat/util/http/MimeHeaders;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void (org.apache.tomcat.util.http.MimeHeaders, java.lang.String);
descriptor: (Lorg/apache/tomcat/util/http/MimeHeaders;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.apache.tomcat.util.http.ValuesEnumerator.name:Ljava/lang/String;
2: aload 0
aload 1
putfield org.apache.tomcat.util.http.ValuesEnumerator.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
3: aload 0
iconst_0
putfield org.apache.tomcat.util.http.ValuesEnumerator.pos:I
4: aload 0
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.size:()I
putfield org.apache.tomcat.util.http.ValuesEnumerator.size:I
5: aload 0
invokevirtual org.apache.tomcat.util.http.ValuesEnumerator.findNext:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/http/ValuesEnumerator;
0 7 1 headers Lorg/apache/tomcat/util/http/MimeHeaders;
0 7 2 name Ljava/lang/String;
MethodParameters:
Name Flags
headers
name
private void findNext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.apache.tomcat.util.http.ValuesEnumerator.next:Lorg/apache/tomcat/util/buf/MessageBytes;
1: goto 7
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.pos:I
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getName:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
astore 1
start local 1 3: aload 1
aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.name:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.pos:I
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getValue:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
putfield org.apache.tomcat.util.http.ValuesEnumerator.next:Lorg/apache/tomcat/util/buf/MessageBytes;
5: goto 8
end local 1 6: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.tomcat.util.http.ValuesEnumerator.pos:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.ValuesEnumerator.pos:I
StackMap locals:
StackMap stack:
7: aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.pos:I
aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.size:I
if_icmplt 2
8: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.tomcat.util.http.ValuesEnumerator.pos:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.ValuesEnumerator.pos:I
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/tomcat/util/http/ValuesEnumerator;
3 6 1 n1 Lorg/apache/tomcat/util/buf/MessageBytes;
public boolean hasMoreElements();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.next:Lorg/apache/tomcat/util/buf/MessageBytes;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/ValuesEnumerator;
public java.lang.String nextElement();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.ValuesEnumerator.next:Lorg/apache/tomcat/util/buf/MessageBytes;
astore 1
start local 1 1: aload 0
invokevirtual org.apache.tomcat.util.http.ValuesEnumerator.findNext:()V
2: aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/ValuesEnumerator;
1 3 1 current Lorg/apache/tomcat/util/buf/MessageBytes;
public java.lang.Object nextElement();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.tomcat.util.http.ValuesEnumerator.nextElement:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Enumeration<Ljava/lang/String;>;
SourceFile: "MimeHeaders.java"