ccc.client.gwt.core
Class RequestCallbackAdapter
java.lang.Object
ccc.client.gwt.core.RequestCallbackAdapter
- All Implemented Interfaces:
- com.google.gwt.http.client.RequestCallback
public final class RequestCallbackAdapter
- extends java.lang.Object
- implements com.google.gwt.http.client.RequestCallback
Adapter that maps GWT's callback handler to the CC response handler.
- Author:
- Civic Computing Ltd.
Method Summary |
void |
onError(com.google.gwt.http.client.Request request,
java.lang.Throwable exception)
|
void |
onResponseReceived(com.google.gwt.http.client.Request request,
com.google.gwt.http.client.Response r)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestCallbackAdapter
public RequestCallbackAdapter(ResponseHandler handler)
- Constructor.
- Parameters:
handler
- The response handler for this callback.
onError
public void onError(com.google.gwt.http.client.Request request,
java.lang.Throwable exception)
- Specified by:
onError
in interface com.google.gwt.http.client.RequestCallback
onResponseReceived
public void onResponseReceived(com.google.gwt.http.client.Request request,
com.google.gwt.http.client.Response r)
- Specified by:
onResponseReceived
in interface com.google.gwt.http.client.RequestCallback
Copyright © 2010. All Rights Reserved.