LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web
Class LyWebSession

java.lang.Object
  extended by leon.app.LyDataSession
      extended by leon.app.LySession
          extended by leon.view.web.LyWebSession
All Implemented Interfaces:
LyEvaluator, LyGuiClientInterface, LyTimerClientInterface
Direct Known Subclasses:
LyJQSession, LyStrutsSession

public class LyWebSession
extends LySession

The instance of session for web viewers.

See Also:
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
LyWebSession(LyApplication application, boolean registerSession)
          Constructor of web session.
LyWebSession(LyApplication application, boolean registerSession, java.lang.String sessionId)
          Constructor of web session.
 
Method Summary
 javax.servlet.http.HttpServletRequest getCurrentRequest()
          Gets the current request.
 javax.servlet.http.HttpServletResponse getCurrentResponse()
          Gets the current response.
 
Methods inherited from class leon.app.LySession
addController, addOutlineController, addResetListener, checkControllerId, close, closeViews, closeViews, confirmClosing, confirmExit, confirmExit, controllerHidden, controllerShown, createStickerWindow, enableAction, enableTransverseAction, endTimer, exit, getApplication, getController, getController, getControllerCount, getControllerStackSize, getLastViewController, getLastViewController, getMasterSession, getPluginId, getPrintThreadCount, getRootContextController, getSessionTimeout, getSlaveSessions, getStackLastController, getTempFile, getViewManager, getViewManager, guiStart, guiStop, interruptPrintThreads, invokeAction, invokeExtraAction, isChatting, isIdle, loadUserPreferences, loadUserStickers, login, login, notifyOutline, processAboutAction, processAction, processExtraAction, processHelpAction, processLogAction, processVersionAction, register, removeController, removeOutlineController, removeResetListener, reset, resetTimeout, resetUndoRedo, sessionTimeout, sessionTimeout, setChatting, setIdle, setLanguage, setMasterSession, setPluginId, setSkin, showView, start, storeTempFile, toString, validateAction, writeXml
 
Methods inherited from class leon.app.LyDataSession
addInfoListener, addValue, dumpLocks, getContextManager, getCreationTime, getDataSource, getDataSource, getEnvironment, getHardLock, getId, getKeyValue, getObjectsByName, getObjectSource, getParent, getSessionBehavior, getSoftLock, getState, getSubSessions, getUser, getValue, handleException, hasTransaction, isClosed, isObjectVisible, isRegistered, isValid, notifyInfoListeners, putObjectSource, releaseHardLock, releaseSoftLock, removeInfoListener, removeObjectSource, setTimeZone, setUser, setValid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyWebSession

public LyWebSession(LyApplication application,
                    boolean registerSession)
Constructor of web session.

Parameters:
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.

LyWebSession

public LyWebSession(LyApplication application,
                    boolean registerSession,
                    java.lang.String sessionId)
Constructor of web session.

Parameters:
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

getCurrentRequest

public javax.servlet.http.HttpServletRequest getCurrentRequest()
Gets the current request.

Returns:
the request

getCurrentResponse

public javax.servlet.http.HttpServletResponse getCurrentResponse()
Gets the current response.

Returns:
the response

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com