Package org.kohsuke.stapler
Class TokenList
java.lang.Object
org.kohsuke.stapler.TokenList
Tokenized path portion of the URL.
For example "foo/bar/zot" is treated as ["foo","bar","zot"]
- Author:
- Kohsuke Kawaguchi
-
Field Details
-
tokens
URL-decoded tokens. -
rawTokens
Liketokens
but before decoding. -
idx
public int idxIndex of the next token. -
endsWithSlash
public final boolean endsWithSlashIf the request URL ends with the path separator.
-
-
Method Details
-
hasMore
public boolean hasMore() -
peek
-
next
-
prev
-
nextAsInt
- Throws:
NumberFormatException
-
nextAsLong
- Throws:
NumberFormatException
-
length
public int length() -
get
-
countRemainingTokens
public int countRemainingTokens() -
toString
-
assembleRestOfPath
-
assembleOriginalRestOfPath
-
decode
-