public class org.apache.http.message.BasicTokenIterator implements org.apache.http.TokenIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.message.BasicTokenIterator
super_class: java.lang.Object
{
public static final java.lang.String HTTP_SEPARATORS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: " ,;=()<>@:\\\"/[]?{}\t"
protected final org.apache.http.HeaderIterator ;
descriptor: Lorg/apache/http/HeaderIterator;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String currentToken;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int searchPos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void (org.apache.http.HeaderIterator);
descriptor: (Lorg/apache/http/HeaderIterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
ldc "Header iterator"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.apache.http.HeaderIterator
putfield org.apache.http.message.BasicTokenIterator.headerIt:Lorg/apache/http/HeaderIterator;
2: aload 0
aload 0
iconst_m1
invokevirtual org.apache.http.message.BasicTokenIterator.findNext:(I)I
putfield org.apache.http.message.BasicTokenIterator.searchPos:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/http/message/BasicTokenIterator;
0 4 1 headerIterator Lorg/apache/http/HeaderIterator;
MethodParameters:
Name Flags
headerIterator final
public boolean hasNext();
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.BasicTokenIterator.currentToken: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/http/message/BasicTokenIterator;
public java.lang.String nextToken();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.http.message.BasicTokenIterator.currentToken:Ljava/lang/String;
ifnonnull 2
1: new java.util.NoSuchElementException
dup
ldc "Iteration already finished."
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentToken:Ljava/lang/String;
astore 1
start local 1 3: aload 0
aload 0
aload 0
getfield org.apache.http.message.BasicTokenIterator.searchPos:I
invokevirtual org.apache.http.message.BasicTokenIterator.findNext:(I)I
putfield org.apache.http.message.BasicTokenIterator.searchPos:I
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/http/message/BasicTokenIterator;
3 5 1 result Ljava/lang/String;
Exceptions:
throws java.util.NoSuchElementException, org.apache.http.ParseException
public final java.lang.Object next();
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.BasicTokenIterator.nextToken:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/message/BasicTokenIterator;
Exceptions:
throws java.util.NoSuchElementException, org.apache.http.ParseException
public final void remove();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
1: ldc "Removing tokens is not supported."
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/message/BasicTokenIterator;
Exceptions:
throws java.lang.UnsupportedOperationException
protected int findNext(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: iload 2
ifge 7
2: aload 0
getfield org.apache.http.message.BasicTokenIterator.headerIt:Lorg/apache/http/HeaderIterator;
invokeinterface org.apache.http.HeaderIterator.hasNext:()Z
ifne 4
3: iconst_m1
ireturn
4: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.apache.http.message.BasicTokenIterator.headerIt:Lorg/apache/http/HeaderIterator;
invokeinterface org.apache.http.HeaderIterator.nextHeader:()Lorg/apache/http/Header;
invokeinterface org.apache.http.Header.getValue:()Ljava/lang/String;
putfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
5: iconst_0
istore 2
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual org.apache.http.message.BasicTokenIterator.findTokenSeparator:(I)I
istore 2
8: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual org.apache.http.message.BasicTokenIterator.findTokenStart:(I)I
istore 3
start local 3 9: iload 3
ifge 12
10: aload 0
aconst_null
putfield org.apache.http.message.BasicTokenIterator.currentToken:Ljava/lang/String;
11: iconst_m1
ireturn
12: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual org.apache.http.message.BasicTokenIterator.findTokenEnd:(I)I
istore 4
start local 4 13: aload 0
aload 0
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
iload 3
iload 4
invokevirtual org.apache.http.message.BasicTokenIterator.createToken:(Ljava/lang/String;II)Ljava/lang/String;
putfield org.apache.http.message.BasicTokenIterator.currentToken:Ljava/lang/String;
14: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/http/message/BasicTokenIterator;
0 15 1 pos I
1 15 2 from I
9 15 3 start I
13 15 4 end I
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
pos final
protected java.lang.String createToken(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/message/BasicTokenIterator;
0 1 1 value Ljava/lang/String;
0 1 2 start I
0 1 3 end I
MethodParameters:
Name Flags
value final
start final
end final
protected int findTokenStart(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ldc "Search position"
invokestatic org.apache.http.util.Args.notNegative:(ILjava/lang/String;)I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 24
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 4
start local 4 4: goto 17
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: aload 0
iload 5
invokevirtual org.apache.http.message.BasicTokenIterator.isTokenSeparator:(C)Z
ifne 7
aload 0
iload 5
invokevirtual org.apache.http.message.BasicTokenIterator.isWhitespace:(C)Z
ifeq 9
7: StackMap locals: int
StackMap stack:
iinc 2 1
8: goto 17
StackMap locals:
StackMap stack:
9: aload 0
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual org.apache.http.message.BasicTokenIterator.isTokenChar:(C)Z
ifeq 12
10: iconst_1
istore 3
11: goto 17
12: StackMap locals:
StackMap stack:
new org.apache.http.ParseException
dup
13: new java.lang.StringBuilder
dup
ldc "Invalid character before token (pos "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
14: ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
end local 5 17: StackMap locals:
StackMap stack:
iload 3
ifne 18
iload 2
iload 4
if_icmplt 5
18: StackMap locals:
StackMap stack:
iload 3
ifne 24
19: aload 0
getfield org.apache.http.message.BasicTokenIterator.headerIt:Lorg/apache/http/HeaderIterator;
invokeinterface org.apache.http.HeaderIterator.hasNext:()Z
ifeq 23
20: aload 0
aload 0
getfield org.apache.http.message.BasicTokenIterator.headerIt:Lorg/apache/http/HeaderIterator;
invokeinterface org.apache.http.HeaderIterator.nextHeader:()Lorg/apache/http/Header;
invokeinterface org.apache.http.Header.getValue:()Ljava/lang/String;
putfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
21: iconst_0
istore 2
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
end local 4 24: StackMap locals:
StackMap stack:
iload 3
ifne 25
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
ifnonnull 3
25: StackMap locals:
StackMap stack:
iload 3
ifeq 26
iload 2
goto 27
StackMap locals:
StackMap stack:
26: iconst_m1
StackMap locals:
StackMap stack: int
27: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/http/message/BasicTokenIterator;
0 28 1 pos I
1 28 2 from I
2 28 3 found Z
4 24 4 to I
6 17 5 ch C
MethodParameters:
Name Flags
pos final
protected int findTokenSeparator(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ldc "Search position"
invokestatic org.apache.http.util.Args.notNegative:(ILjava/lang/String;)I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 4
start local 4 3: goto 22
4: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 5: aload 0
iload 5
invokevirtual org.apache.http.message.BasicTokenIterator.isTokenSeparator:(C)Z
ifeq 8
6: iconst_1
istore 3
7: goto 22
StackMap locals: int
StackMap stack:
8: aload 0
iload 5
invokevirtual org.apache.http.message.BasicTokenIterator.isWhitespace:(C)Z
ifeq 11
9: iinc 2 1
10: goto 22
StackMap locals:
StackMap stack:
11: aload 0
iload 5
invokevirtual org.apache.http.message.BasicTokenIterator.isTokenChar:(C)Z
ifeq 17
12: new org.apache.http.ParseException
dup
13: new java.lang.StringBuilder
dup
ldc "Tokens without separator (pos "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
14: ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
new org.apache.http.ParseException
dup
18: new java.lang.StringBuilder
dup
ldc "Invalid character after token (pos "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
19: ldc "): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
end local 5 22: StackMap locals:
StackMap stack:
iload 3
ifne 23
iload 2
iload 4
if_icmplt 4
23: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/http/message/BasicTokenIterator;
0 24 1 pos I
1 24 2 from I
2 24 3 found Z
3 24 4 to I
5 22 5 ch C
MethodParameters:
Name Flags
pos final
protected int findTokenEnd(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ldc "Search position"
invokestatic org.apache.http.util.Args.notNegative:(ILjava/lang/String;)I
pop
1: aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: iload 1
iconst_1
iadd
istore 3
start local 3 3: goto 5
4: StackMap locals: int int
StackMap stack:
iinc 3 1
5: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 6
aload 0
aload 0
getfield org.apache.http.message.BasicTokenIterator.currentHeader:Ljava/lang/String;
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokevirtual org.apache.http.message.BasicTokenIterator.isTokenChar:(C)Z
ifne 4
6: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/http/message/BasicTokenIterator;
0 7 1 from I
2 7 2 to I
3 7 3 end I
MethodParameters:
Name Flags
from final
protected boolean isTokenSeparator(char);
descriptor: (C)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 44
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/message/BasicTokenIterator;
0 2 1 ch C
MethodParameters:
Name Flags
ch final
protected boolean isWhitespace(char);
descriptor: (C)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 9
if_icmpeq 1
iload 1
invokestatic java.lang.Character.isSpaceChar:(C)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/message/BasicTokenIterator;
0 2 1 ch C
MethodParameters:
Name Flags
ch final
protected boolean isTokenChar(char);
descriptor: (C)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.Character.isISOControl:(C)Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual org.apache.http.message.BasicTokenIterator.isHttpSeparator:(C)Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/http/message/BasicTokenIterator;
0 7 1 ch C
MethodParameters:
Name Flags
ch final
protected boolean isHttpSeparator(char);
descriptor: (C)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc " ,;=()<>@:\\\"/[]?{}\t"
iload 1
invokevirtual java.lang.String.indexOf:(I)I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/message/BasicTokenIterator;
0 2 1 ch C
MethodParameters:
Name Flags
ch final
}
SourceFile: "BasicTokenIterator.java"