public class SerializableSession extends SimpleSession implements javax.servlet.http.HttpSessionActivationListener, java.io.Serializable
Session
.Constructor and Description |
---|
SerializableSession(WebApp wapp,
javax.servlet.http.HttpSession hsess,
java.lang.Object request)
Constructor.
|
SerializableSession(WebApp wapp,
java.lang.Object hsess,
java.lang.Object request)
Constructs a ZK session with either a HTTP session or a Portlet session.
|
Modifier and Type | Method and Description |
---|---|
void |
sessionDidActivate(javax.servlet.http.HttpSessionEvent se) |
void |
sessionWillPassivate(javax.servlet.http.HttpSessionEvent se) |
addScopeListener, getAttribute, getAttribute, getAttributes, getDesktopCache, getDeviceType, getLocalAddr, getLocalName, getMaxInactiveInterval, getNativeSession, getRemoteAddr, getRemoteHost, getServerName, getWebApp, hasAttribute, hasAttribute, invalidate, invalidateNow, isInvalidated, notifyClientRequest, onDestroyed, readThis, recover, removeAttribute, removeAttribute, removeScopeListener, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setDesktopCache, setDeviceType, setMaxInactiveInterval, writeThis
public SerializableSession(WebApp wapp, javax.servlet.http.HttpSession hsess, java.lang.Object request)
request
- the original request causing this session to be created.
If HTTP and servlet, it is javax.servlet.http.HttpServletRequest.
If portlet, it is javax.portlet.RenderRequest.public SerializableSession(WebApp wapp, java.lang.Object hsess, java.lang.Object request)
hsess
- the original session, either an instance of
HttpSession or PortletSession.
Notice: we don't declare PortletSession in API
to avoid this class failed to be loaded in some system (without
portlet-api.jar)request
- the original request causing this session to be created.
If portlet, it is javax.portlet.RenderRequest.public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent se)
sessionWillPassivate
in interface javax.servlet.http.HttpSessionActivationListener
public void sessionDidActivate(javax.servlet.http.HttpSessionEvent se)
sessionDidActivate
in interface javax.servlet.http.HttpSessionActivationListener
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.