public class DefaultWebCacheProcessor extends Object implements IWebCacheProcessor
Constructor and Description |
---|
DefaultWebCacheProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
processResponseCache(IWebMvc owner,
ResponseCache responseCache,
IView resultView)
对控制器方法返回视图进行缓存处理
|
public boolean processResponseCache(IWebMvc owner, ResponseCache responseCache, IView resultView) throws Exception
IWebCacheProcessor
processResponseCache
in interface IWebCacheProcessor
owner
- 所属WebMVC管理器responseCache
- 控制器方法回应结果缓存注解resultView
- 视图对象, 若为空则表示该接口方法仅尝试读取缓存Exception
- 可能产生的异常Copyright © 2022. All rights reserved.