org.sonar.api.web.gwt.client.webservices
Class JSONHandlerDispatcher<P extends ResponsePOJO>
java.lang.Object
org.sonar.api.web.gwt.client.webservices.JSONHandlerDispatcher<P>
- All Implemented Interfaces:
- JsonUtils.JSONHandler
public abstract class JSONHandlerDispatcher<P extends ResponsePOJO>
- extends Object
- implements JsonUtils.JSONHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONHandlerDispatcher
public JSONHandlerDispatcher(QueryCallBack<P> callBack)
parseResponse
public abstract P parseResponse(com.google.gwt.core.client.JavaScriptObject obj)
onError
public void onError(int errorCode,
String errorMessage)
- Specified by:
onError
in interface JsonUtils.JSONHandler
onResponse
public void onResponse(com.google.gwt.core.client.JavaScriptObject obj)
- Specified by:
onResponse
in interface JsonUtils.JSONHandler
onTimeout
public void onTimeout()
- Specified by:
onTimeout
in interface JsonUtils.JSONHandler
Copyright © 2009-2010 SonarSource. All Rights Reserved.