Class RestMethodCallbackOnlineOnly<T>
java.lang.Object
org.silverpeas.mobile.client.common.network.rest.RestMethodCallbackOnlineOnly<T>
- All Implemented Interfaces:
RestCallback<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattempt()voidonFailure(RestMethod method, Throwable t) voidonSuccess(RestMethod method, T result) voidsetRelogin(boolean relogin)
-
Constructor Details
-
RestMethodCallbackOnlineOnly
public RestMethodCallbackOnlineOnly()
-
-
Method Details
-
attempt
public void attempt() -
setRelogin
public void setRelogin(boolean relogin) -
onFailure
- Specified by:
onFailurein interfaceRestCallback<T>
-
onSuccess
- Specified by:
onSuccessin interfaceRestCallback<T>
-