@Ignored public interface IWebErrorProcessor
Modifier and Type | Method and Description |
---|---|
IView |
onConvention(IWebMvc owner,
IRequestContext requestContext)
自定义处理URL请求过程
|
void |
onError(IWebMvc owner,
Throwable e)
异常时将执行事件回调
|
IView |
onValidation(IWebMvc owner,
Map<String,ValidateResult> results)
处理验证结果数据
|
void onError(IWebMvc owner, Throwable e)
owner
- 所属YMP框架管理器实例e
- 异常对象IView onValidation(IWebMvc owner, Map<String,ValidateResult> results)
owner
- 所属YMP框架管理器实例results
- 验证器执行结果集合IView onConvention(IWebMvc owner, IRequestContext requestContext) throws Exception
owner
- 所属YMP框架管理器实例requestContext
- 请求上下文Exception
- 可能产生的异常Copyright © 2022. All rights reserved.