Save This Page
Home » json » org.json » [javadoc | source]
org.json
public class: HTTPTokener [javadoc | source]
java.lang.Object
   org.json.JSONTokener
      org.json.HTTPTokener
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
Constructor:
 public HTTPTokener(String s) 
    Construct an HTTPTokener from a string.
    Parameters:
    s - A source string.
Method from org.json.HTTPTokener Summary:
nextToken
Methods from org.json.JSONTokener:
back,   dehexchar,   more,   next,   next,   next,   nextClean,   nextString,   nextTo,   nextTo,   nextValue,   skipTo,   syntaxError,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.json.HTTPTokener Detail:
 public String nextToken() throws JSONException 
    Get the next token or string. This is used in parsing HTTP headers.