public abstract class HandledAsyncCallback<T>
extends java.lang.Object
Constructor and Description |
---|
HandledAsyncCallback(java.lang.String successText) |
HandledAsyncCallback(java.lang.String errorText,
java.lang.String successText) |
HandledAsyncCallback(java.lang.String errorTitle,
java.lang.String errorText,
java.lang.String successTitle,
java.lang.String successText) |
Modifier and Type | Method and Description |
---|---|
void |
doOnFailure(java.lang.Throwable caught) |
void |
doOnFinish() |
void |
doOnStartup() |
void |
doOnSuccess(T result) |
java.lang.String |
getErrorText() |
java.lang.String |
getErrorTitle() |
Request |
getRequest() |
java.lang.String |
getSuccessText() |
java.lang.String |
getSuccessTitle() |
void |
onFailure(java.lang.Throwable caught) |
void |
onSuccess(T result) |
void |
setErrorText(java.lang.String errorText) |
void |
setErrorTitle(java.lang.String errorTitle) |
void |
setRequest(Request request) |
void |
setSuccessText(java.lang.String successText) |
void |
setSuccessTitle(java.lang.String successTitle) |
public HandledAsyncCallback(java.lang.String successText)
public HandledAsyncCallback(java.lang.String errorText, java.lang.String successText)
public HandledAsyncCallback(java.lang.String errorTitle, java.lang.String errorText, java.lang.String successTitle, java.lang.String successText)
public void onFailure(java.lang.Throwable caught)
public final void onSuccess(T result)
public void setRequest(Request request)
public Request getRequest()
public void doOnSuccess(T result)
public void doOnFailure(java.lang.Throwable caught)
public void doOnStartup()
public void doOnFinish()
public java.lang.String getSuccessText()
public void setSuccessText(java.lang.String successText)
public java.lang.String getSuccessTitle()
public void setSuccessTitle(java.lang.String successTitle)
public java.lang.String getErrorText()
public void setErrorText(java.lang.String errorText)
public java.lang.String getErrorTitle()
public void setErrorTitle(java.lang.String errorTitle)