Package armyc2.c5isr.web.json.utilities
Class HTTPTokener
java.lang.Object
armyc2.c5isr.web.json.utilities.JSONTokener
armyc2.c5isr.web.json.utilities.HTTPTokener
The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.
-
Constructor Details
-
HTTPTokener
Construct an HTTPTokener from a string.- Parameters:
string
- A source string.
-
-
Method Details
-
nextToken
Get the next token or string. This is used in parsing HTTP headers.- Returns:
- A String.
- Throws:
JSONException
-