public final class TokenList extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
endsWithSlash
If the request URL ends with the path separator.
|
int |
idx
Index of the next token.
|
String[] |
rawTokens
Like
tokens but before decoding. |
String[] |
tokens
URL-decoded tokens.
|
Modifier and Type | Method and Description |
---|---|
String |
assembleOriginalRestOfPath() |
String |
assembleRestOfPath() |
int |
countRemainingTokens() |
static String |
decode(String s) |
String |
get(int i) |
boolean |
hasMore() |
int |
length() |
String |
next() |
int |
nextAsInt() |
long |
nextAsLong() |
String |
peek() |
String |
prev() |
String |
toString() |
public final String[] tokens
public int idx
public final boolean endsWithSlash
public boolean hasMore()
public String peek()
public String next()
public String prev()
public int nextAsInt() throws NumberFormatException
NumberFormatException
public long nextAsLong() throws NumberFormatException
NumberFormatException
public int length()
public String get(int i)
public int countRemainingTokens()
public String assembleRestOfPath()
public String assembleOriginalRestOfPath()
Copyright © 2017. All rights reserved.