Package org.json
Class HTTPTokener
- java.lang.Object
 - 
- org.json.JSONTokener
 - 
- org.json.HTTPTokener
 
 
 
- 
@Deprecated public class HTTPTokener extends JSONTokener
Deprecated.The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers. 
- 
- 
Constructor Summary
Constructors Constructor Description HTTPTokener(java.lang.String string)Deprecated.Construct an HTTPTokener from a string. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringnextToken()Deprecated.Get the next token or string.- 
Methods inherited from class org.json.JSONTokener
back, close, dehexchar, end, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipTo, syntaxError, syntaxError, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
nextToken
public java.lang.String nextToken() throws JSONExceptionDeprecated.Get the next token or string. This is used in parsing HTTP headers.- Returns:
 - A String.
 - Throws:
 JSONException- if a syntax error occurs
 
 - 
 
 -