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 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)
void
setPayload(JsonObject payload)
Sets the payload which was sent to the server
-
-
-
Method Detail
-
setPayload
public void setPayload(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:
onError
in 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:
onResponseReceived
in interfacecom.google.gwt.http.client.RequestCallback
-
-