Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.gwt.runtime.client.http
Class HttpCallback

java.lang.Object
  extended by org.nuxeo.ecm.gwt.runtime.client.http.HttpCallback
All Implemented Interfaces:
com.google.gwt.http.client.RequestCallback
Direct Known Subclasses:
HttpCommand

public abstract class HttpCallback
extends java.lang.Object
implements com.google.gwt.http.client.RequestCallback

Author:
Bogdan Stefanescu

Constructor Summary
HttpCallback()
           
 
Method Summary
 HttpRequest getRequest()
           
 void onError(com.google.gwt.http.client.Request request, java.lang.Throwable exception)
           
 void onFailure(java.lang.Throwable cause)
           
 void onResponseReceived(com.google.gwt.http.client.Request request, com.google.gwt.http.client.Response response)
           
abstract  void onSuccess(HttpResponse response)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCallback

public HttpCallback()
Method Detail

getRequest

public HttpRequest getRequest()

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 response)
Specified by:
onResponseReceived in interface com.google.gwt.http.client.RequestCallback

onFailure

public void onFailure(java.lang.Throwable cause)

onSuccess

public abstract void onSuccess(HttpResponse response)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.