Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Version:
  2010-12-24
Author:
  JSON.org

Constructor Summary
`HTTPTokener(java.lang.String string)` Construct an HTTPTokener from a string.

Method Summary
`java.lang.String` | `nextToken()` Get the next token or string.

Methods inherited from class org.json.JSONTokener
`back, dehexchar, end, more, next, next, next, nextClean, nextString, nextTo, nextTo, nextValue, skipTo, syntaxError, toString`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### HTTPTokener

    public HTTPTokener(java.lang.String string)

  Construct an HTTPTokener from a string.

  Parameters:
    `string` - A source string.

Method Detail

### nextToken

    public java.lang.String nextToken()
                               throws JSONException

  Get the next token or string. This is used in parsing HTTP headers.

  Returns:
    A String.
  Throws:
    `JSONException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD