public class ChainManager extends Object
| 构造器和说明 |
|---|
ChainManager() |
public Collection<Filter> getFilterNodes()
public void addFilter(Filter filter, int index)
public void addFilterIfAbsent(Filter filter, int index)
public Collection<RouterInterceptor> getInterceptorNodes()
public void addInterceptor(RouterInterceptor interceptor, int index)
public void addInterceptorIfAbsent(RouterInterceptor interceptor, int index)
public <T extends RouterInterceptor> void removeInterceptor(Class<T> clz)
public void doIntercept(Context x, Handler mainHandler, Handler lastHandler) throws Throwable
Throwablepublic void postArguments(Context x, ParamWrap[] args, Object[] vals) throws Throwable
Throwablepublic Object postResult(Context x, @Nullable Object result) throws Throwable
Throwablepublic void addReturnHandler(ActionReturnHandler e)
public ActionReturnHandler getReturnHandler(Class<?> returnType)
public void defExecuteHandler(ActionExecuteHandler e)
public void addExecuteHandler(ActionExecuteHandler e)
public void addExecuteHandler(ActionExecuteHandler e, int index)
index - 顺序位public void removeExecuteHandler(Class<?> clz)
public ActionExecuteHandler getExecuteHandler(Context c, int paramSize)
public ActionExecuteHandler getExecuteHandlerDefault()
public SessionStateFactory getSessionStateFactory()
public void setSessionStateFactory(SessionStateFactory ssf)
public void refreshSessionState(Context c)
public SessionState getSessionState(Context ctx)
Copyright © 2024. All rights reserved.