public static interface Xhr.Callback
| Modifier and Type | Method and Description |
|---|---|
void |
onFail(com.google.gwt.xhr.client.XMLHttpRequest xhr,
Exception exception)
Called when the request fails.
|
void |
onSuccess(com.google.gwt.xhr.client.XMLHttpRequest xhr)
Called when the request succeeds.
|
void onFail(com.google.gwt.xhr.client.XMLHttpRequest xhr,
Exception exception)
xhr - the request objectexception - the exception which cause the request to fail, or null if
not availablevoid onSuccess(com.google.gwt.xhr.client.XMLHttpRequest xhr)
xhr - the request objectCopyright © 2000–2021 Vaadin Ltd. All rights reserved.