public interface LifeCycleHandler
Object handleSync(ForestRequest request, ForestResponse response)
Object handleSyncWithException(ForestRequest request, ForestResponse response, Exception ex)
Object handleResultType(ForestRequest request, ForestResponse response)
Object handleResultType(ForestRequest request, ForestResponse response, Type resultType, Class resultClass)
Object handleSuccess(Object resultData, ForestRequest request, ForestResponse response)
void handleInvokeMethod(ForestRequest request, ForestMethod method, Object[] args)
Object handleError(ForestRequest request, ForestResponse response)
Object handleError(ForestRequest request, ForestResponse response, Throwable ex)
void handleTry(ForestRetryException ex, Retryer retryer) throws Throwable
Throwable
void handleProgress(ForestRequest request, ForestProgress progress)
void handleLoadCookie(ForestRequest request, ForestCookies cookies)
void handleSaveCookie(ForestRequest request, ForestCookies cookies)
Type getOnSuccessClassGenericType()
Type getReturnType()
Copyright © 2020. All rights reserved.