public class XhrConnection.XhrResponseHandler extends Object implements com.google.gwt.http.client.RequestCallback
| Constructor and Description |
|---|
XhrResponseHandler() |
| Modifier and Type | Method and 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(elemental.json.JsonObject payload)
Sets the payload which was sent to the server
|
public void setPayload(elemental.json.JsonObject payload)
payload - the payload which was sent to the serverpublic void onError(com.google.gwt.http.client.Request request,
Throwable exception)
onError in interface com.google.gwt.http.client.RequestCallbackpublic void onResponseReceived(com.google.gwt.http.client.Request request,
com.google.gwt.http.client.Response response)
onResponseReceived in interface com.google.gwt.http.client.RequestCallbackCopyright © 2016 Vaadin Ltd. All rights reserved.