HTTPTokener

The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.

Author

JSON.org

Constructors

Link copied to clipboard
open fun HTTPTokener(string: String)
Construct an HTTPTokener from a string.

Functions

Link copied to clipboard
open fun back()
Link copied to clipboard
open fun dehexchar(hex: Char): Int
Link copied to clipboard
open fun more(): Boolean
Link copied to clipboard
open fun next(): Char
open fun next(length: Int): String
Link copied to clipboard
open fun nextClean(): Char
Link copied to clipboard
open fun nextString(quote: Char): String
Link copied to clipboard
open fun nextTo(excluded: String): String
Link copied to clipboard
open fun nextToken(): String
Get the next token or string.
Link copied to clipboard
open fun nextValue(): Any
Link copied to clipboard
open fun skipPast(thru: String)
Link copied to clipboard
open fun skipTo(to: Char): Char
Link copied to clipboard
open fun syntaxError(message: String): JSONException
Link copied to clipboard
open fun toString(): String