public class ChainManager
extends java.lang.Object
构造器和说明 |
---|
ChainManager() |
public java.util.Collection<Filter> getFilterNodes()
public void addFilter(Filter filter, int index)
public void addFilterIfAbsent(Filter filter, int index)
public void doFilter(Context x) throws java.lang.Throwable
java.lang.Throwable
public java.util.Collection<RouterInterceptor> getInterceptorNodes()
public void addInterceptor(RouterInterceptor interceptor, int index)
public void addInterceptorIfAbsent(RouterInterceptor interceptor, int index)
public <T extends RouterInterceptor> void removeInterceptor(java.lang.Class<T> clz)
public void doIntercept(Context x, @Nullable Handler mainHandler) throws java.lang.Throwable
java.lang.Throwable
public java.lang.Object postResult(Context x, @Nullable java.lang.Object result) throws java.lang.Throwable
java.lang.Throwable
public void addReturnHandler(ActionReturnHandler e)
public ActionReturnHandler getReturnHandler(java.lang.Class<?> returnType)
public void defExecuteHandler(ActionExecuteHandler e)
public void addExecuteHandler(ActionExecuteHandler e)
public void removeExecuteHandler(java.lang.Class<?> clz)
public ActionExecuteHandler getExecuteHandler(Context c, int paramSize)
public ActionExecuteHandler getExecuteHandlerDefault()
public static SessionStateFactory getSessionStateFactory()
public static void setSessionStateFactory(SessionStateFactory ssf)
public static SessionState getSessionState(Context ctx)