org.tinygroup.weblayer.webcontext
类 CommitMonitor

java.lang.Object
  继承者 org.tinygroup.context.impl.BaseContextImpl
      继承者 org.tinygroup.context.impl.ContextImpl
          继承者 org.tinygroup.weblayer.webcontext.AbstractWebContextWrapper
              继承者 org.tinygroup.weblayer.webcontext.CommitMonitor
所有已实现的接口:
Serializable, org.tinygroup.context.BaseContext, org.tinygroup.context.Context, WebContext
直接已知子类:
SimpleWebContext

public class CommitMonitor
extends AbstractWebContextWrapper

保存commit的状态,用来防止重复commit。

作者:
renhui
另请参见:
序列化表格

字段摘要
 
从类 org.tinygroup.context.impl.BaseContextImpl 继承的字段
itemMap
 
构造方法摘要
CommitMonitor(WebContext context, TinyFilterHandler handler)
           
 
方法摘要
 void commitHeaders()
          实现内部接口:HeaderCommitter
 WebContext getTopWebContext()
           
 boolean isCommitted()
           
 boolean isHeadersCommitted()
           
 void setCommitted(boolean committed)
           
 void setHeadersCommitted(boolean headersCommitted)
           
 void setTopWebContext(WebContext topWebContext)
           
 
从类 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.context.Context 继承的方法
clearSubContext, createSubContext, get, getParent, getSubContext, getSubContextMap, put, putSubContext, remove, removeSubContext, setParent
 
从接口 org.tinygroup.context.BaseContext 继承的方法
clear, exist, get, getItemMap, put, remove, renameKey, size
 

构造方法详细信息

CommitMonitor

public CommitMonitor(WebContext context,
                     TinyFilterHandler handler)
方法详细信息

isHeadersCommitted

public boolean isHeadersCommitted()

setHeadersCommitted

public void setHeadersCommitted(boolean headersCommitted)

isCommitted

public boolean isCommitted()

setCommitted

public void setCommitted(boolean committed)

getTopWebContext

public WebContext getTopWebContext()

setTopWebContext

public void setTopWebContext(WebContext topWebContext)

commitHeaders

public void commitHeaders()
实现内部接口:HeaderCommitter



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