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