|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.app.LyDataSession
leon.app.LySession
leon.view.web.LyWebSession
leon.view.web.struts.LyStrutsSession
public class LyStrutsSession
The instance of session for web viewers.
LySession
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.app.LyDataSession |
---|
LyDataSession.State |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.app.LySession |
---|
DEFAULT, DEMAND_EXIT, DRAGGED_OBJECT, METRIC_OBJECT_ID_KEY, POPUP_VIEW, SESSION_TIMEOUT |
Fields inherited from class leon.app.LyDataSession |
---|
_nbSessions, _sessionsCounter |
Constructor Summary | |
---|---|
LyStrutsSession(LyApplication application,
boolean registerSession)
Constructor of web session. |
|
LyStrutsSession(LyApplication application,
boolean registerSession,
java.lang.String sessionId)
Constructor of web session. |
Method Summary | |
---|---|
void |
close()
Closes the session. |
javax.servlet.http.HttpServletRequest |
getCurrentRequest()
Gets the current request. |
javax.servlet.http.HttpServletResponse |
getCurrentResponse()
Gets the current response. |
javax.servlet.http.HttpSession |
getHttpSession()
Returns the Http session associated with this web session. |
void |
setSessionBean(LyStrutsSessionBean bean,
javax.servlet.http.HttpSession httpSession)
Sets the session bean and Http session for this web session. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyStrutsSession(LyApplication application, boolean registerSession)
application
- The application owner of the session.registerSession
- Indicates if the session must be registered on the application
(default is true), or if this is a temporary session which should be
ignored.public LyStrutsSession(LyApplication application, boolean registerSession, java.lang.String sessionId)
application
- The application owner of the session.registerSession
- Indicates if the session must be registered on the application
(default is true), or if this is a temporary session which should be
ignored.id
- The identifier of the session.Method Detail |
---|
public javax.servlet.http.HttpServletRequest getCurrentRequest()
getCurrentRequest
in class LyWebSession
public javax.servlet.http.HttpServletResponse getCurrentResponse()
getCurrentResponse
in class LyWebSession
public void setSessionBean(LyStrutsSessionBean bean, javax.servlet.http.HttpSession httpSession)
public javax.servlet.http.HttpSession getHttpSession()
public void close()
LySession
close
in class LySession
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |