|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionInit
Used to initialize a session when it is created.
How this interface is used.
init(org.zkoss.zk.ui.Session, java.lang.Object)
is called.
Method Summary | |
---|---|
void |
init(Session sess,
java.lang.Object request)
Called when a session is created and initialized. |
Method Detail |
---|
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 javax.servlet.http.HttpServletRequest.
If portlet, it is javax.portlet.RenderRequest.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |