org.apache.wicket.ajax.json
Class HTTPTokener
java.lang.Object
org.apache.wicket.ajax.json.JSONTokener
org.apache.wicket.ajax.json.HTTPTokener
public class HTTPTokener
- extends JSONTokener
The HTTPTokener extends the JSONTokener to provide additional methods
for the parsing of HTTP headers.
- Version:
- 2010-12-24
- Author:
- JSON.org
Constructor Summary |
HTTPTokener(String string)
Construct an HTTPTokener from a string. |
Methods inherited from class org.apache.wicket.ajax.json.JSONTokener |
back, dehexchar, end, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipTo, syntaxError, toString |
HTTPTokener
public HTTPTokener(String string)
- Construct an HTTPTokener from a string.
- Parameters:
string
- A source string.
nextToken
public String nextToken()
throws JSONException
- Get the next token or string. This is used in parsing HTTP headers.
- Returns:
- A String.
- Throws:
JSONException
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.