Package org.zkoss.zk.ui.sys
Interface SessionResolver
-
- All Known Implementing Classes:
SessionResolverImpl
public interface SessionResolverUsed 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 SessiongetSession(boolean create)Returns the session, or null if no session available andcreateis false.
-
-
-
Method Detail
-
getSession
Session getSession(boolean create)
Returns the session, or null if no session available andcreateis 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.
-
-