Package org.json
Class HTTPTokener
- java.lang.Object
- 
- org.json.JSONTokener
- 
- org.json.HTTPTokener
 
 
- 
 public class HTTPTokener extends JSONTokener The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
- 
- 
Constructor SummaryConstructors Constructor Description HTTPTokener(java.lang.String s)Construct an HTTPTokener from a string.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringnextToken()Get the next token or string.
 
- 
- 
- 
Method Detail- 
nextTokenpublic java.lang.String nextToken() throws JSONExceptionGet the next token or string. This is used in parsing HTTP headers.- Returns:
- A String.
- Throws:
- JSONException
 
 
- 
 
-