public class DefaultInterceptorRuleProcessor extends Object implements IInterceptorRuleProcessor
| Constructor and Description |
|---|
DefaultInterceptorRuleProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(IWebMvc owner)
初始化
|
boolean |
isInitialized()
是否已初始化
|
PairObject<IView,ResponseCache> |
processRequest(IWebMvc owner,
IRequestContext requestContext)
处理请求执行拦截规则
|
void |
registerInterceptorRule(Class<? extends IInterceptorRule> targetClass)
注册拦截器规则配置
|
public void initialize(IWebMvc owner) throws Exception
IInitializationinitialize in interface IInitialization<IWebMvc>owner - 指定所属容器参数对象Exception - 初始过程中产生的任何异常public boolean isInitialized()
IInitializationisInitialized in interface IInitialization<IWebMvc>public void registerInterceptorRule(Class<? extends IInterceptorRule> targetClass) throws Exception
IInterceptorRuleProcessorregisterInterceptorRule in interface IInterceptorRuleProcessortargetClass - 目标类型Exception - 可能产生的异常public PairObject<IView,ResponseCache> processRequest(IWebMvc owner, IRequestContext requestContext) throws Exception
IInterceptorRuleProcessorprocessRequest in interface IInterceptorRuleProcessorowner - OwnerrequestContext - 请求上下文Exception - 可能产生的异常Copyright © 2022. All rights reserved.