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
IInitialization
initialize
in interface IInitialization<IWebMvc>
owner
- 指定所属容器参数对象Exception
- 初始过程中产生的任何异常public boolean isInitialized()
IInitialization
isInitialized
in interface IInitialization<IWebMvc>
public void registerInterceptorRule(Class<? extends IInterceptorRule> targetClass) throws Exception
IInterceptorRuleProcessor
registerInterceptorRule
in interface IInterceptorRuleProcessor
targetClass
- 目标类型Exception
- 可能产生的异常public PairObject<IView,ResponseCache> processRequest(IWebMvc owner, IRequestContext requestContext) throws Exception
IInterceptorRuleProcessor
processRequest
in interface IInterceptorRuleProcessor
owner
- OwnerrequestContext
- 请求上下文Exception
- 可能产生的异常Copyright © 2022. All rights reserved.