Uses of Interface
org.zkoss.zk.ui.Session
Packages that use Session
Package
Description
-
Uses of Session in org.zkoss.zk.au.http
Methods in org.zkoss.zk.au.http that return SessionModifier and TypeMethodDescriptionAuExtensionRequest.getSession(boolean create) Returns the session, or null if no session andcreateis false.Methods in org.zkoss.zk.au.http with parameters of type SessionModifier and TypeMethodDescriptionAuDynaMediar.charsetSetup(Session session, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) default ObjectAuExtension.charsetSetup(Session session, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Sets the charset of the response.protected DesktopDHtmlUpdateServlet.getDesktop(Session sess, String dtid) Returns the desktop of the specified ID, or null if not found.voidDHtmlUpdateServlet.process(Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean compress) Process asynchronous update requests from the client.protected DesktopDHtmlUpdateServlet.recoverDesktop(Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebAppCtrl wappc, String dtid) Recovers the desktop if possible. -
Uses of Session in org.zkoss.zk.ui
Methods in org.zkoss.zk.ui that return SessionModifier and TypeMethodDescriptionstatic final SessionSessions.getCurrent()Returns the session for the current thread, or null if not available.static final SessionSessions.getCurrent(boolean create) Returns the session for the current thread, or null if not available.Desktop.getSession()Returns the session of this desktop.Execution.getSession()Returns the session this execution belongs to. -
Uses of Session in org.zkoss.zk.ui.event
Methods in org.zkoss.zk.ui.event with parameters of type SessionModifier and TypeMethodDescriptionstatic <T extends Event>
EventQueue<T>Returns the event queue with the specified name in the give session (i.e., the session scope).static booleanRemoves the event queue of the specified session. -
Uses of Session in org.zkoss.zk.ui.event.impl
Methods in org.zkoss.zk.ui.event.impl with parameters of type SessionModifier and TypeMethodDescription<T extends Event>
EventQueue<T>Returns the event queue with the specified name in the give session (i.e., the scope).<T extends Event>
EventQueue<T>booleanRemoves the event queue of the specified session.boolean -
Uses of Session in org.zkoss.zk.ui.http
Classes in org.zkoss.zk.ui.http that implement SessionModifier and TypeClassDescriptionclassSerializableSession.classA non-serializable implementation ofSession.Methods in org.zkoss.zk.ui.http that return SessionModifier and TypeMethodDescriptionSessionResolverImpl.getSession(boolean create) static final SessionWebManager.getSession(jakarta.servlet.ServletContext ctx, jakarta.servlet.http.HttpServletRequest request) Returns the session associated with the specified request request.static final SessionWebManager.getSession(jakarta.servlet.ServletContext ctx, jakarta.servlet.http.HttpServletRequest request, boolean create) Returns the current HttpSession associated with this request or, if there is no current session and create is true, returns a new session.SerializableUiFactory.newSession(WebApp wapp, Object nativeSess, Object request) SimpleUiFactory.newSession(WebApp wapp, Object nativeSess, Object request) Methods in org.zkoss.zk.ui.http with parameters of type SessionModifier and TypeMethodDescriptionstatic DesktopDesktopRecycles.beforeService(DesktopRecycle dtrc, jakarta.servlet.ServletContext ctx, Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String path) Called before serving a HTTP request.WebManager.getDesktop(Session sess, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, String path, boolean autocreate) Returns the desktop of the specified request, or null if not found and autocreate is false, or it has been redirect or forward to other page.static final intUtils.getFirstDayOfWeek(Session sess) Returns the first day of the week of the given session, or -1 if no defined by the application.protected booleanDHtmlLayoutPortlet.process(Session sess, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, String path, boolean bRichlet) Process a portlet request.protected booleanDHtmlLayoutServlet.process(Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String originPath, boolean bRichlet) Process the request.protected booleanRichletFilter.process(Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String originPath, boolean bRichlet) voidvoidstatic final ObjectI18Ns.setup(Session sess, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, String charset) Sets up the internationalization attributes, including locale and time zone. -
Uses of Session in org.zkoss.zk.ui.impl
Methods in org.zkoss.zk.ui.impl that return SessionModifier and TypeMethodDescriptionAbstractExecution.getSession()final SessionDesktopImpl.getSession()final SessionRequestInfoImpl.getSession()Methods in org.zkoss.zk.ui.impl with parameters of type SessionModifier and TypeMethodDescriptionAbstractWebApp.getDesktopCache(Session sess) GlobalDesktopCacheProvider.getDesktopCache(Session sess) SessionDesktopCacheProvider.getDesktopCache(Session sess) voidAbstractWebApp.sessionDestroyed(Session sess) voidGlobalDesktopCacheProvider.sessionDestroyed(Session sess) voidSessionDesktopCacheProvider.sessionDestroyed(Session sess) voidAbstractWebApp.sessionDidActivate(Session sess) voidDesktopImpl.sessionDidActivate(Session sess) voidGlobalDesktopCacheProvider.sessionDidActivate(Session sess) voidSessionDesktopCacheProvider.sessionDidActivate(Session sess) voidSimpleDesktopCache.sessionDidActivate(Session sess) InvokesDesktopCtrl.sessionDidActivate(org.zkoss.zk.ui.Session)for each desktops it cached.voidAbstractWebApp.sessionWillPassivate(Session sess) voidDesktopImpl.sessionWillPassivate(Session sess) voidGlobalDesktopCacheProvider.sessionWillPassivate(Session sess) voidSessionDesktopCacheProvider.sessionWillPassivate(Session sess) voidSimpleDesktopCache.sessionWillPassivate(Session sess) InvokesDesktopCtrl.sessionWillPassivate(org.zkoss.zk.ui.Session)for each desktops it cached.Constructors in org.zkoss.zk.ui.impl with parameters of type SessionModifierConstructorDescriptionRequestInfoImpl(WebApp wapp, Session sess, Desktop desktop, Object request, org.zkoss.util.resource.Locator locator) Constructor -
Uses of Session in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys that return SessionModifier and TypeMethodDescriptionRetrieves a ZK session from the cache, or null if the ZK session is not stored.RequestInfo.getSession()Returns the session, or null if not available.SessionResolver.getSession(boolean create) Returns the session, or null if no session available andcreateis false.static final SessionSessionsCtrl.getSession(WebApp wapp, Object navsess) Returns the ZK session associated with the specified native session, or null if not found.static final SessionSessionsCtrl.newSession(WebApp wapp, Object navsess, Object request) Instantiates a ZK session that is associated with the specified native session and request.UiFactory.newSession(WebApp wapp, Object nativeSess, Object request) Creates an instance ofSession.Methods in org.zkoss.zk.ui.sys with parameters of type SessionModifier and TypeMethodDescriptionDesktopCacheProvider.getDesktopCache(Session session) Returns a desktop cache of the specified session.WebAppCtrl.getDesktopCache(Session sess) Returns the desktop cache.booleanFailoverManager.isRecoverable(Session sess, String desktopId) Tests whether the specified desktop ID is recoverable.voidPuts a ZK session to the cache.voidRecovers the specified desktop.voidRemoves the ZK session from the cache.static booleanSessionsCtrl.requestEnter(Session sess) Called when a servlet/portlet starts to serve a request.static voidSessionsCtrl.requestExit(Session sess) Called when a servlet/portlet completes the service of a request.voidDesktopCacheProvider.sessionDestroyed(Session session) Called when a session is destroyed.voidWebAppCtrl.sessionDestroyed(Session sess) Called when the native session of the specified session has been destroyedvoidDesktopCache.sessionDidActivate(Session sess) Notification that the session has just been activated (a.k.a., deserialized).voidDesktopCacheProvider.sessionDidActivate(Session sess) Notification that the session has just been activated (a.k.a., deserialized).voidDesktopCtrl.sessionDidActivate(Session sess) Notification that the session, which owns this desktop, has just been activated (a.k.a., deserialized) by the Web container.voidWebAppCtrl.sessionDidActivate(Session sess) Notification that the session has just been activated (a.k.a., deserialized).voidDesktopCache.sessionWillPassivate(Session sess) Notification that the session is about to be passivated (a.k.a., serialized).voidDesktopCacheProvider.sessionWillPassivate(Session sess) Notification that the session is about to be passivated (a.k.a., serialized).voidDesktopCtrl.sessionWillPassivate(Session sess) Notification that the session, which owns this desktop, is about to be passivated (a.k.a., serialized) by the Web container.voidWebAppCtrl.sessionWillPassivate(Session sess) Notification that the session is about to be passivated (a.k.a., serialized).static final voidSessionsCtrl.setCurrent(Session sess) Sets the session for the current thread. -
Uses of Session in org.zkoss.zk.ui.util
Fields in org.zkoss.zk.ui.util declared as SessionModifier and TypeFieldDescriptionprotected SessionGenericAutowireComposer.sessionImplicit Object; the session.Methods in org.zkoss.zk.ui.util with parameters of type SessionModifier and TypeMethodDescriptionvoidDesktopRecycle.afterRemove(Session sess, Desktop desktop) Called after a desktop is removed.voidcalled when a session is about to be destroyed.voidSessionActivationListener.didActivate(Session session) Called when a session has just been activated.voidCalled when a session is created and initialized.voidConfiguration.invokeRequestInterceptors(Session sess, Object request, Object response) InvokesRequestInterceptor.request(org.zkoss.zk.ui.Session, java.lang.Object, java.lang.Object)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidConfiguration.invokeSessionCleanups(Session sess) InvokesSessionCleanup.cleanup(org.zkoss.zk.ui.Session)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidConfiguration.invokeSessionInits(Session sess, Object request) InvokesSessionInit.init(org.zkoss.zk.ui.Session, java.lang.Object)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidCalled before a request is processed by ZK Loader or ZK Update Engine.voidMonitor.sessionCreated(Session sess) Called when a new session is created.voidStatistic.sessionCreated(Session sess) voidMonitor.sessionDestroyed(Session sess) Called when a session is being destroyed.voidStatistic.sessionDestroyed(Session sess) voidSessionActivationListener.willPassivate(Session session) Called when a session is about to be passivated.voidSessionSerializationListener.willSerialize(Session session) Called when a session is going to serialize this object.