Package org.zkoss.zk.ui.sys
Interface SessionResolver
-
- All Known Implementing Classes:
SessionResolverImpl
public interface SessionResolver
Used withSessionsCtrl.setCurrent(SessionResolver)
to resolve a session dynamically.- Since:
- 5.0.0
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Session
getSession(boolean create)
Returns the session, or null if no session available andcreate
is false.
-
-
-
Method Detail
-
getSession
Session getSession(boolean create)
Returns the session, or null if no session available andcreate
is false.- Parameters:
create
- whether to create the session if not found. If true, a new session will be create if there is no one available.
-
-