Uses of Interface
org.zkoss.zk.ui.Session
-
Packages that use Session Package Description org.zkoss.zk.au.http org.zkoss.zk.ui org.zkoss.zk.ui.event org.zkoss.zk.ui.event.impl org.zkoss.zk.ui.http org.zkoss.zk.ui.impl org.zkoss.zk.ui.sys org.zkoss.zk.ui.util -
-
Uses of Session in org.zkoss.zk.au.http
Methods in org.zkoss.zk.au.http that return Session Modifier and Type Method Description SessionAuExtensionRequest. getSession(boolean create)Returns the session, or null if no session andcreateis false.Methods in org.zkoss.zk.au.http with parameters of type Session Modifier and Type Method Description java.lang.ObjectAuDynaMediar. charsetSetup(Session session, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)default java.lang.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, java.lang.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, java.lang.String dtid)Recovers the desktop if possible. -
Uses of Session in org.zkoss.zk.ui
Methods in org.zkoss.zk.ui that return Session Modifier and Type Method Description static SessionSessions. getCurrent()Returns the session for the current thread, or null if not available.static SessionSessions. getCurrent(boolean create)Returns the session for the current thread, or null if not available.SessionDesktop. getSession()Returns the session of this desktop.SessionExecution. 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 Session Modifier and Type Method Description static <T extends Event>
EventQueue<T>EventQueues. lookup(java.lang.String name, Session sess, boolean autoCreate)Returns the event queue with the specified name in the give session (i.e., the session scope).static booleanEventQueues. remove(java.lang.String name, Session sess)Removes 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 Session Modifier and Type Method Description <T extends Event>
EventQueue<T>EventQueueProvider. lookup(java.lang.String name, Session sess, boolean autoCreate)Returns the event queue with the specified name in the give session (i.e., the scope).<T extends Event>
EventQueue<T>EventQueueProviderImpl. lookup(java.lang.String name, Session sess, boolean autoCreate)booleanEventQueueProvider. remove(java.lang.String name, Session sess)Removes the event queue of the specified session.booleanEventQueueProviderImpl. remove(java.lang.String name, Session sess) -
Uses of Session in org.zkoss.zk.ui.http
Classes in org.zkoss.zk.ui.http that implement Session Modifier and Type Class Description classSerializableSessionSerializableSession.classSimpleSessionA non-serializable implementation ofSession.Methods in org.zkoss.zk.ui.http that return Session Modifier and Type Method Description SessionSimpleSessionCache. get(java.lang.Object navsess)SessionSessionResolverImpl. getSession(boolean create)static SessionWebManager. getSession(jakarta.servlet.ServletContext ctx, jakarta.servlet.http.HttpServletRequest request)Returns the session associated with the specified request request.static 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.SessionSerializableUiFactory. newSession(WebApp wapp, java.lang.Object nativeSess, java.lang.Object request)SessionSimpleUiFactory. newSession(WebApp wapp, java.lang.Object nativeSess, java.lang.Object request)Methods in org.zkoss.zk.ui.http with parameters of type Session Modifier and Type Method Description static DesktopDesktopRecycles. beforeService(DesktopRecycle dtrc, jakarta.servlet.ServletContext ctx, Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, java.lang.String path)Called before serving a HTTP request.DesktopWebManager. getDesktop(Session sess, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, java.lang.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 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, java.lang.String path, boolean bRichlet)Process a portlet request.protected booleanDHtmlLayoutServlet. process(Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, java.lang.String originPath, boolean bRichlet)Process the request.protected booleanRichletFilter. process(Session sess, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, java.lang.String originPath, boolean bRichlet)voidSimpleSessionCache. put(Session sess)voidSimpleSessionCache. remove(Session sess)static java.lang.ObjectI18Ns. setup(Session sess, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, java.lang.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 Session Modifier and Type Method Description SessionAbstractExecution. getSession()SessionDesktopImpl. getSession()SessionRequestInfoImpl. getSession()Methods in org.zkoss.zk.ui.impl with parameters of type Session Modifier and Type Method Description DesktopCacheAbstractWebApp. getDesktopCache(Session sess)DesktopCacheGlobalDesktopCacheProvider. getDesktopCache(Session sess)DesktopCacheSessionDesktopCacheProvider. 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 Session Constructor Description RequestInfoImpl(WebApp wapp, Session sess, Desktop desktop, java.lang.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 Session Modifier and Type Method Description SessionSessionCache. get(java.lang.Object navsess)Retrieves a ZK session from the cache, or null if the ZK session is not stored.SessionRequestInfo. getSession()Returns the session, or null if not available.SessionSessionResolver. getSession(boolean create)Returns the session, or null if no session available andcreateis false.static SessionSessionsCtrl. getSession(WebApp wapp, java.lang.Object navsess)Returns the ZK session associated with the specified native session, or null if not found.static SessionSessionsCtrl. newSession(WebApp wapp, java.lang.Object navsess, java.lang.Object request)Instantiates a ZK session that is associated with the specified native session and request.SessionUiFactory. newSession(WebApp wapp, java.lang.Object nativeSess, java.lang.Object request)Creates an instance ofSession.Methods in org.zkoss.zk.ui.sys with parameters of type Session Modifier and Type Method Description DesktopCacheDesktopCacheProvider. getDesktopCache(Session session)Returns a desktop cache of the specified session.DesktopCacheWebAppCtrl. getDesktopCache(Session sess)Returns the desktop cache.booleanFailoverManager. isRecoverable(Session sess, java.lang.String desktopId)Tests whether the specified desktop ID is recoverable.voidSessionCache. put(Session sess)Puts a ZK session to the cache.voidFailoverManager. recover(Session sess, Execution exec, Desktop desktop)Recovers the specified desktop.voidSessionCache. remove(Session sess)Removes 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 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 Session Modifier and Type Field Description protected SessionGenericAutowireComposer. sessionImplicit Object; the session.Methods in org.zkoss.zk.ui.util with parameters of type Session Modifier and Type Method Description voidDesktopRecycle. afterRemove(Session sess, Desktop desktop)Called after a desktop is removed.voidSessionCleanup. cleanup(Session sess)called when a session is about to be destroyed.voidSessionActivationListener. didActivate(Session session)Called when a session has just been activated.voidSessionInit. init(Session sess, java.lang.Object request)Called when a session is created and initialized.voidConfiguration. invokeRequestInterceptors(Session sess, java.lang.Object request, java.lang.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, java.lang.Object request)InvokesSessionInit.init(org.zkoss.zk.ui.Session, java.lang.Object)for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>).voidRequestInterceptor. request(Session sess, java.lang.Object request, java.lang.Object response)Called 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.
-