class org.apache.tomcat.util.http.NamesEnumerator 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.NamesEnumerator
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 java.lang.String next;
descriptor: Ljava/lang/String;
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
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.NamesEnumerator.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
2: aload 0
iconst_0
putfield org.apache.tomcat.util.http.NamesEnumerator.pos:I
3: aload 0
aload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.size:()I
putfield org.apache.tomcat.util.http.NamesEnumerator.size:I
4: aload 0
invokevirtual org.apache.tomcat.util.http.NamesEnumerator.findNext:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/http/NamesEnumerator;
0 6 1 headers Lorg/apache/tomcat/util/http/MimeHeaders;
MethodParameters:
Name Flags
headers
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.NamesEnumerator.next:Ljava/lang/String;
1: goto 13
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.tomcat.util.http.NamesEnumerator.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
aload 0
getfield org.apache.tomcat.util.http.NamesEnumerator.pos:I
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getName:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toString:()Ljava/lang/String;
putfield org.apache.tomcat.util.http.NamesEnumerator.next:Ljava/lang/String;
3: iconst_0
istore 1
start local 1 4: goto 9
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.NamesEnumerator.headers:Lorg/apache/tomcat/util/http/MimeHeaders;
iload 1
invokevirtual org.apache.tomcat.util.http.MimeHeaders.getName:(I)Lorg/apache/tomcat/util/buf/MessageBytes;
aload 0
getfield org.apache.tomcat.util.http.NamesEnumerator.next:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: aload 0
aconst_null
putfield org.apache.tomcat.util.http.NamesEnumerator.next:Ljava/lang/String;
7: goto 10
8: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
9: iload 1
aload 0
getfield org.apache.tomcat.util.http.NamesEnumerator.pos:I
if_icmplt 5
end local 1 10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.NamesEnumerator.next:Ljava/lang/String;
ifnull 12
11: goto 14
12: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.tomcat.util.http.NamesEnumerator.pos:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.NamesEnumerator.pos:I
StackMap locals:
StackMap stack:
13: aload 0
getfield org.apache.tomcat.util.http.NamesEnumerator.pos:I
aload 0
getfield org.apache.tomcat.util.http.NamesEnumerator.size:I
if_icmplt 2
14: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.tomcat.util.http.NamesEnumerator.pos:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.NamesEnumerator.pos:I
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/tomcat/util/http/NamesEnumerator;
4 10 1 j I
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.NamesEnumerator.next:Ljava/lang/String;
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/NamesEnumerator;
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.NamesEnumerator.next:Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual org.apache.tomcat.util.http.NamesEnumerator.findNext:()V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/NamesEnumerator;
1 3 1 current Ljava/lang/String;
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.NamesEnumerator.nextElement:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Enumeration<Ljava/lang/String;>;
SourceFile: "MimeHeaders.java"