org.tinygroup.weblayer.webcontext.session
接口 SessionWebContext

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

public interface SessionWebContext
extends TwoPhaseCommitWebContext

支持session的WebContext实现。

作者:
renhui

方法摘要
 void clear()
          清除session。
 SessionConfig getSessionConfig()
          取得SessionConfig实例。
 boolean isSessionInvalidated()
          判断session是否已经作废。
 
从接口 org.tinygroup.weblayer.webcontext.TwoPhaseCommitWebContext 继承的方法
commitHeaders
 
从接口 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 继承的方法
exist, get, get, getItemMap, put, remove, renameKey, size
 

方法详细信息

getSessionConfig

SessionConfig getSessionConfig()
取得SessionConfig实例。

返回:
SessionConfig实例

isSessionInvalidated

boolean isSessionInvalidated()
判断session是否已经作废。

返回:
如已作废,则返回true

clear

void clear()
清除session。类似invalidate()方法,但支持后续操作,而不会抛出 IllegalStateException

指定者:
接口 org.tinygroup.context.BaseContext 中的 clear


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