org.sonar.plugins.api.web.gwt.client
Class JsonUtils

java.lang.Object
  extended by org.sonar.plugins.api.web.gwt.client.JsonUtils

public class JsonUtils
extends java.lang.Object


Nested Class Summary
static interface JsonUtils.JSONHandler
           
 
Constructor Summary
JsonUtils()
           
 
Method Summary
static void dispatchJSON(com.google.gwt.core.client.JavaScriptObject jsonObj, JsonUtils.JSONHandler handler)
           
static void makeJSONRequest(int requestId, java.lang.String url, JsonUtils.JSONHandler handler)
           
static void requestJson(java.lang.String url, JsonUtils.JSONHandler handler)
          IMPORTANT : the url should ended with ?callback= or &callback=
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonUtils

public JsonUtils()
Method Detail

dispatchJSON

public static void dispatchJSON(com.google.gwt.core.client.JavaScriptObject jsonObj,
                                JsonUtils.JSONHandler handler)

makeJSONRequest

public static void makeJSONRequest(int requestId,
                                   java.lang.String url,
                                   JsonUtils.JSONHandler handler)

requestJson

public static void requestJson(java.lang.String url,
                               JsonUtils.JSONHandler handler)
IMPORTANT : the url should ended with ?callback= or &callback=



Copyright © 2008-2009 SonarSource SA. All Rights Reserved.