public class implements org.apache.http.HeaderIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.message.BasicListHeaderIterator
super_class: java.lang.Object
{
protected final java.util.List<org.apache.http.Header> ;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/http/Header;>;
protected int ;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int ;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.util.List<org.apache.http.Header>, java.lang.String);
descriptor: (Ljava/util/List;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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "Header list"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.List
putfield org.apache.http.message.BasicListHeaderIterator.allHeaders:Ljava/util/List;
2: aload 0
aload 2
putfield org.apache.http.message.BasicListHeaderIterator.headerName:Ljava/lang/String;
3: aload 0
aload 0
iconst_m1
invokevirtual org.apache.http.message.BasicListHeaderIterator.findNext:(I)I
putfield org.apache.http.message.BasicListHeaderIterator.currentIndex:I
4: aload 0
iconst_m1
putfield org.apache.http.message.BasicListHeaderIterator.lastIndex:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/http/message/BasicListHeaderIterator;
0 6 1 headers Ljava/util/List<Lorg/apache/http/Header;>;
0 6 2 name Ljava/lang/String;
Signature: (Ljava/util/List<Lorg/apache/http/Header;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
headers final
name final
protected int (int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpge 3
2: iconst_m1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.http.message.BasicListHeaderIterator.allHeaders:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 8
6: StackMap locals: int int
StackMap stack:
iinc 2 1
7: aload 0
iload 2
invokevirtual org.apache.http.message.BasicListHeaderIterator.filterHeader:(I)Z
istore 4
8: StackMap locals:
StackMap stack:
iload 4
ifne 9
iload 2
iload 3
if_icmplt 6
9: StackMap locals:
StackMap stack:
iload 4
ifeq 10
iload 2
goto 11
StackMap locals:
StackMap stack:
10: iconst_m1
StackMap locals:
StackMap stack: int
11: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/http/message/BasicListHeaderIterator;
0 12 1 pos I
1 12 2 from I
4 12 3 to I
5 12 4 found Z
MethodParameters:
Name Flags
pos final
protected boolean (int);
descriptor: (I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.http.message.BasicListHeaderIterator.headerName:Ljava/lang/String;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.http.message.BasicListHeaderIterator.allHeaders:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.http.Header
invokeinterface org.apache.http.Header.getName:()Ljava/lang/String;
astore 2
start local 2 3: aload 0
getfield org.apache.http.message.BasicListHeaderIterator.headerName:Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/http/message/BasicListHeaderIterator;
0 4 1 index I
3 4 2 name Ljava/lang/String;
MethodParameters:
Name Flags
index final
public boolean ();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.message.BasicListHeaderIterator.currentIndex:I
iflt 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/http/message/BasicListHeaderIterator;
public org.apache.http.Header ();
descriptor: ()Lorg/apache/http/Header;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.http.message.BasicListHeaderIterator.currentIndex:I
istore 1
start local 1 1: iload 1
ifge 3
2: new java.util.NoSuchElementException
dup
ldc "Iteration already finished."
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
putfield org.apache.http.message.BasicListHeaderIterator.lastIndex:I
4: aload 0
aload 0
iload 1
invokevirtual org.apache.http.message.BasicListHeaderIterator.findNext:(I)I
putfield org.apache.http.message.BasicListHeaderIterator.currentIndex:I
5: aload 0
getfield org.apache.http.message.BasicListHeaderIterator.allHeaders:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.http.Header
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/http/message/BasicListHeaderIterator;
1 6 1 current I
Exceptions:
throws java.util.NoSuchElementException
public final java.lang.Object ();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.http.message.BasicListHeaderIterator.nextHeader:()Lorg/apache/http/Header;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/message/BasicListHeaderIterator;
Exceptions:
throws java.util.NoSuchElementException
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.http.message.BasicListHeaderIterator.lastIndex:I
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "No header to remove"
invokestatic org.apache.http.util.Asserts.check:(ZLjava/lang/String;)V
3: aload 0
getfield org.apache.http.message.BasicListHeaderIterator.allHeaders:Ljava/util/List;
aload 0
getfield org.apache.http.message.BasicListHeaderIterator.lastIndex:I
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
4: aload 0
iconst_m1
putfield org.apache.http.message.BasicListHeaderIterator.lastIndex:I
5: aload 0
dup
getfield org.apache.http.message.BasicListHeaderIterator.currentIndex:I
iconst_1
isub
putfield org.apache.http.message.BasicListHeaderIterator.currentIndex:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/http/message/BasicListHeaderIterator;
Exceptions:
throws java.lang.UnsupportedOperationException
}
SourceFile: "BasicListHeaderIterator.java"