com.googlecode.jpattern.gwt.client.communication.rest
Class ProxyRequestCallback<T extends IWebResult>

java.lang.Object
  extended by com.googlecode.jpattern.gwt.client.communication.rest.ProxyRequestCallback<T>
All Implemented Interfaces:
com.google.gwt.http.client.RequestCallback

public class ProxyRequestCallback<T extends IWebResult>
extends Object
implements com.google.gwt.http.client.RequestCallback

Author:
Francesco Cina'

Constructor Summary
ProxyRequestCallback(IBeanFactory beanFactory, ICallbackAction<T> callbackAction, IObjectSerializer<T> jsonBuilder)
           
 
Method Summary
 void onError(com.google.gwt.http.client.Request request, Throwable exception)
           
 void onResponseReceived(com.google.gwt.http.client.Request request, com.google.gwt.http.client.Response response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyRequestCallback

public ProxyRequestCallback(IBeanFactory beanFactory,
                            ICallbackAction<T> callbackAction,
                            IObjectSerializer<T> jsonBuilder)
Method Detail

onError

public void onError(com.google.gwt.http.client.Request request,
                    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 response)
Specified by:
onResponseReceived in interface com.google.gwt.http.client.RequestCallback


Copyright © 2011. All Rights Reserved.