java.lang.Object
org.eclipse.lemminx.customservice.synapse.schemagen.json.JSONTokener
org.eclipse.lemminx.customservice.synapse.schemagen.json.HTTPTokener

public class HTTPTokener extends JSONTokener
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
Version:
2014-05-03
Author:
JSON.org
  • Constructor Details

    • HTTPTokener

      public HTTPTokener(String string)
      Construct an HTTPTokener from a string.
      Parameters:
      string - A source string.
  • Method Details

    • nextToken

      public String nextToken() throws JSONException
      Get the next token or string. This is used in parsing HTTP headers.
      Returns:
      A String.
      Throws:
      JSONException