public interface SessionInit
How this interface is used.
init(org.zkoss.zk.ui.Session, java.lang.Object)
is called.Modifier and Type | Method and Description |
---|---|
void |
init(Session sess,
java.lang.Object request)
Called when a session is created and initialized.
|
void init(Session sess, java.lang.Object request) throws java.lang.Exception
If the client is based on HTTP (such as browsers), you could
retrieve the HTTP session by Session.getNativeSession()
sess
- the session being created and initializedrequest
- the request caused the session being created.
If HTTP and servlet, it is jakarta.servlet.http.HttpServletRequest.
If portlet, it is javax.portlet.RenderRequest.java.lang.Exception
Copyright © 2005-2022 Potix Corporation. All Rights Reserved.