@FunctionalInterface public interface SuccessOrAbsorbCallback<T> extends SuccessCallback<T>
SuccessCallback implementation for use cases
when redirect to Login page is not desired if there is an unauthorized service call.
Error will be logged in browser console.FacadeCallback.Failure| Modifier and Type | Method and Description |
|---|---|
default void |
redirectToLoginIfUnauthorized(Throwable exception) |
done, handleError, onSuccessonFailure, onSuccessdefault void redirectToLoginIfUnauthorized(Throwable exception)
redirectToLoginIfUnauthorized in interface FacadeCallback<T>Copyright © 2023. All rights reserved.