Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.json
Class HTTPTokener

    java.lang.Object
      org.richfaces.json.JSONTokener
          org.richfaces.json.HTTPTokener

    public class HTTPTokener

extends JSONTokener

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

Version:
  2
Author:
  JSON.org

Constructor Summary
`HTTPTokener(String s)` Construct an XMLTokener from a string.

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

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

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

Constructor Detail

### HTTPTokener

    public HTTPTokener(String s)

  Construct an XMLTokener from a string.

  Parameters:
    `s` - A source string.

Method Detail

### nextToken

    public 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
| RichFaces UI Components UI 4.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.