|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.http.SessionResolverImpl
public class SessionResolverImpl
An implementation of session resolver (SessionResolver
) based on HTTP request.
Constructor Summary | |
---|---|
SessionResolverImpl(javax.servlet.ServletContext ctx,
javax.servlet.http.HttpServletRequest request)
|
Method Summary | |
---|---|
Session |
getSession(boolean create)
Returns the session, or null if no session available and create is false. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionResolverImpl(javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest request)
Method Detail |
---|
public Session getSession(boolean create)
SessionResolver
create
is false.
getSession
in interface SessionResolver
create
- whether to create the session if not found.
If true, a new session will be create if there is no one available.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |