org.tinygroup.weblayer.webcontext.cache.impl
类 PageCacheWebContextImpl

java.lang.Object
  继承者 org.tinygroup.context.impl.BaseContextImpl
      继承者 org.tinygroup.context.impl.ContextImpl
          继承者 org.tinygroup.weblayer.webcontext.AbstractWebContextWrapper
              继承者 org.tinygroup.weblayer.webcontext.cache.impl.PageCacheWebContextImpl
所有已实现的接口:
Serializable, org.tinygroup.context.BaseContext, org.tinygroup.context.Context, WebContext, PageCacheWebContext

public class PageCacheWebContextImpl
extends AbstractWebContextWrapper
implements PageCacheWebContext

功能说明:缓存页面上下文实现类

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

另请参见:
序列化表格

字段摘要
 
从类 org.tinygroup.context.impl.BaseContextImpl 继承的字段
itemMap
 
构造方法摘要
PageCacheWebContextImpl(WebContext wrappedContext)
           
 
方法摘要
 void cacheOutputPage(String accessPath)
          对访问页面进行缓存
 boolean isCached(String accessPath)
          是否在缓存中有,或者是否已经失效
 boolean isCachePath(String accessPath)
          访问路径是否需要进行缓存
 void putCachePage(String accessPath)
          缓存页面内容
 void setCacheOperater(CacheOperater operater)
          设置缓存映射操作对象
 
从类 org.tinygroup.weblayer.webcontext.AbstractWebContextWrapper 继承的方法
get, getFromWrapperContext, getObject, getRequest, getResponse, getServletContext, getWrappedWebContext, getWrappedWebContext, init, putSubWebContext, setObject, setRequest, setResponse, setServletContext
 
从类 org.tinygroup.context.impl.ContextImpl 继承的方法
clear, clearSubContext, createSubContext, findNodeMap, get, getParent, getSubContext, getSubContextMap, put, putContext, putSubContext, remove, removeSubContext, renameKey, renameKeyNodeMap, setParent
 
从类 org.tinygroup.context.impl.BaseContextImpl 继承的方法
exist, get, getItemMap, put, remove, size
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 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
 

构造方法详细信息

PageCacheWebContextImpl

public PageCacheWebContextImpl(WebContext wrappedContext)
方法详细信息

isCached

public boolean isCached(String accessPath)
是否在缓存中有,或者是否已经失效

指定者:
接口 PageCacheWebContext 中的 isCached
返回:

cacheOutputPage

public void cacheOutputPage(String accessPath)
从接口 PageCacheWebContext 复制的描述
对访问页面进行缓存

指定者:
接口 PageCacheWebContext 中的 cacheOutputPage

setCacheOperater

public void setCacheOperater(CacheOperater operater)
从接口 PageCacheWebContext 复制的描述
设置缓存映射操作对象

指定者:
接口 PageCacheWebContext 中的 setCacheOperater

putCachePage

public void putCachePage(String accessPath)
从接口 PageCacheWebContext 复制的描述
缓存页面内容

指定者:
接口 PageCacheWebContext 中的 putCachePage

isCachePath

public boolean isCachePath(String accessPath)
从接口 PageCacheWebContext 复制的描述
访问路径是否需要进行缓存

指定者:
接口 PageCacheWebContext 中的 isCachePath
返回:


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