Package com.vaadin.client.communication
Class XhrConnection.XhrResponseHandler
- java.lang.Object
-
- com.vaadin.client.communication.XhrConnection.XhrResponseHandler
-
- All Implemented Interfaces:
com.google.gwt.http.client.RequestCallback
- Enclosing class:
- XhrConnection
public class XhrConnection.XhrResponseHandler extends Object implements com.google.gwt.http.client.RequestCallback
-
-
Constructor Summary
Constructors Constructor Description XhrResponseHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonError(com.google.gwt.http.client.Request request, Throwable exception)voidonResponseReceived(com.google.gwt.http.client.Request request, com.google.gwt.http.client.Response response)voidsetPayload(elemental.json.JsonObject payload)Sets the payload which was sent to the server.
-
-
-
Method Detail
-
setPayload
public void setPayload(elemental.json.JsonObject payload)
Sets the payload which was sent to the server.- Parameters:
payload- the payload which was sent to the server
-
onError
public void onError(com.google.gwt.http.client.Request request, Throwable exception)- Specified by:
onErrorin interfacecom.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:
onResponseReceivedin interfacecom.google.gwt.http.client.RequestCallback
-
-