org.tinygroup.weblayer.webcontext.cache
接口 PageCacheWebContext

所有超级接口:
org.tinygroup.context.BaseContext, org.tinygroup.context.Context, WebContext
所有已知实现类:
PageCacheWebContextImpl

public interface PageCacheWebContext
extends WebContext

功能说明:处理缓存页面过滤的上下文

系统版本: v1.0
开发人员: renhui
开发时间: 2013-8-22
功能描述: 写明作用,调用方式,使用场景,以及特殊情况


方法摘要
 void cacheOutputPage(String accessPath)
          对访问页面进行缓存
 boolean isCached(String accessPath)
          判断访问路径是否已经被缓存过
 boolean isCachePath(String accessPath)
          访问路径是否需要进行缓存
 void putCachePage(String accessPath)
          缓存页面内容
 void setCacheOperater(CacheOperater operater)
          设置缓存映射操作对象
 
从接口 org.tinygroup.weblayer.WebContext 继承的方法
getObject, getRequest, getResponse, getServletContext, getWrappedWebContext, init, setObject, setRequest, setResponse, setServletContext
 
从接口 org.tinygroup.context.Context 继承的方法
clearSubContext, createSubContext, get, getParent, getSubContext, getSubContextMap, put, putSubContext, remove, removeSubContext, setParent
 
从接口 org.tinygroup.context.BaseContext 继承的方法
clear, exist, get, get, getItemMap, put, remove, renameKey, size
 

方法详细信息

isCached

boolean isCached(String accessPath)
判断访问路径是否已经被缓存过

参数:
accessPath -
返回:

cacheOutputPage

void cacheOutputPage(String accessPath)
对访问页面进行缓存

参数:
accessPath -

setCacheOperater

void setCacheOperater(CacheOperater operater)
设置缓存映射操作对象

参数:
operater -

putCachePage

void putCachePage(String accessPath)
缓存页面内容

参数:
accessPath -

isCachePath

boolean isCachePath(String accessPath)
访问路径是否需要进行缓存

参数:
accessPath -
返回:


Copyright © 2006–2014 开源组织. All rights reserved.