Class HTTPTokener
- java.lang.Object
-
- org.apache.sling.commons.json.JSONTokener
-
- org.apache.sling.commons.json.http.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 s)
Deprecated.Construct an XMLTokener from a string.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
nextToken()
Deprecated.Get the next token or string.
-
-
-
Method Detail
-
nextToken
public java.lang.String nextToken() throws JSONException
Deprecated.Get the next token or string. This is used in parsing HTTP headers.- Returns:
- A String.
- Throws:
JSONException
-
-