Package sec.web.json.utilities
Class HTTPTokener
java.lang.Object
sec.web.json.utilities.JSONTokener
sec.web.json.utilities.HTTPTokener
The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.
- Version:
- 2010-12-24
- Author:
- JSON.org
-
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
-