类 MethodLifeCycleHandler<T>
java.lang.Object
com.dtflys.forest.reflection.MethodLifeCycleHandler<T>
- 所有已实现的接口:
LifeCycleHandler
请求方法生命周期处理器
- 从以下版本开始:
- 2017-05-19 17:00
- 作者:
- gongjun[jun.gong@thebeastshop.com]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明byte[]handleBodyEncode(ForestRequest request, ForestEncoder encoder, byte[] encodedData) voidhandleCanceled(ForestRequest request, ForestResponse response) handleError(ForestRequest request, ForestResponse response) handleError(ForestRequest request, ForestResponse response, Throwable ex) handleFuture(ForestRequest request, Future resultData) voidhandleInvokeMethod(ForestRequest request, ForestMethod method, Object[] args) voidhandleLoadCookie(ForestRequest request, ForestCookies cookies) voidhandleProgress(ForestRequest request, ForestProgress progress) handleResult(Object resultData) handleResultType(ForestRequest request, ForestResponse response) handleResultType(ForestRequest request, ForestResponse response, Type resultType, Class resultClass) voidhandleSaveCookie(ForestRequest request, ForestCookies cookies) voidhandleSuccess(Object resultData, ForestRequest request, ForestResponse response) handleSync(ForestRequest request, ForestResponse response) handleSyncWithException(ForestRequest request, ForestResponse response, Throwable ex) voidsetOnSuccessClassGenericType(Type onSuccessClassGenericType) voidsetResultRawClass(Class resultRawClass) voidsetResultType(Type resultType)
-
构造器详细资料
-
MethodLifeCycleHandler
-
-
方法详细资料
-
handleSync
- 指定者:
handleSync在接口中LifeCycleHandler
-
handleSyncWithException
- 指定者:
handleSyncWithException在接口中LifeCycleHandler
-
handleResultType
- 指定者:
handleResultType在接口中LifeCycleHandler
-
handleResultType
public Object handleResultType(ForestRequest request, ForestResponse response, Type resultType, Class resultClass) - 指定者:
handleResultType在接口中LifeCycleHandler
-
handleSuccess
- 指定者:
handleSuccess在接口中LifeCycleHandler
-
handleInvokeMethod
- 指定者:
handleInvokeMethod在接口中LifeCycleHandler
-
handleError
- 指定者:
handleError在接口中LifeCycleHandler
-
handleError
- 指定者:
handleError在接口中LifeCycleHandler
-
handleBodyEncode
- 指定者:
handleBodyEncode在接口中LifeCycleHandler
-
handleCanceled
- 指定者:
handleCanceled在接口中LifeCycleHandler
-
handleProgress
- 指定者:
handleProgress在接口中LifeCycleHandler
-
handleLoadCookie
- 指定者:
handleLoadCookie在接口中LifeCycleHandler
-
handleSaveCookie
- 指定者:
handleSaveCookie在接口中LifeCycleHandler
-
handleResult
- 指定者:
handleResult在接口中LifeCycleHandler
-
handleFuture
- 指定者:
handleFuture在接口中LifeCycleHandler
-
getResponse
-
getResultType
- 指定者:
getResultType在接口中LifeCycleHandler
-
getResultData
-
setResultType
-
setResultRawClass
-
setOnSuccessClassGenericType
-
getOnSuccessClassGenericType
- 指定者:
getOnSuccessClassGenericType在接口中LifeCycleHandler
-