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 |
| 从类 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–2013 开源组织. All rights reserved.