- 所有已实现的接口:
- Serializable
public class SessionContext
extends Object
implements Serializable
this class inlude those datas that read from the web container or others.
these datas is stateful, and it's scope is one instance per client.
usually they are saved in httpSession of the web container.
but these datas are different from the components that saved in httpsession.
it is like the stateful components. it include state data.
the way of visiting the SessionContext that saved in httpSession
targetMetaRequest.setVisitableName(ComponentKeys.SESSIONCONTEXT_FACTORY);
SessionContext sessionContext = (SessionContext)cm.visit(targetMetaRequest);
- 作者:
- banq
- 另请参阅:
create a new SessionContext,
序列化表格