org.sonar.api.web.gwt.client.webservices
Class JSONHandlerDispatcher<P extends ResponsePOJO>

java.lang.Object
  extended by org.sonar.api.web.gwt.client.webservices.JSONHandlerDispatcher<P>
All Implemented Interfaces:
JsonUtils.JSONHandler

Deprecated. since 2.8. Use sonar-gwt-api instead.

@Deprecated
public abstract class JSONHandlerDispatcher<P extends ResponsePOJO>
extends Object
implements JsonUtils.JSONHandler


Constructor Summary
JSONHandlerDispatcher(QueryCallBack<P> callBack)
          Deprecated.  
 
Method Summary
 void onError(int errorCode, String errorMessage)
          Deprecated.  
 void onResponse(com.google.gwt.core.client.JavaScriptObject obj)
          Deprecated.  
 void onTimeout()
          Deprecated.  
abstract  P parseResponse(com.google.gwt.core.client.JavaScriptObject obj)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONHandlerDispatcher

public JSONHandlerDispatcher(QueryCallBack<P> callBack)
Deprecated. 
Method Detail

parseResponse

public abstract P parseResponse(com.google.gwt.core.client.JavaScriptObject obj)
Deprecated. 

onError

public void onError(int errorCode,
                    String errorMessage)
Deprecated. 
Specified by:
onError in interface JsonUtils.JSONHandler

onResponse

public void onResponse(com.google.gwt.core.client.JavaScriptObject obj)
Deprecated. 
Specified by:
onResponse in interface JsonUtils.JSONHandler

onTimeout

public void onTimeout()
Deprecated. 
Specified by:
onTimeout in interface JsonUtils.JSONHandler


Copyright © 2009-2011 SonarSource. All Rights Reserved.