java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.uil.RequestEnv
The Telosys request environment.
The 'request ecosystem' for an 'action request' or a 'service request'
Provides the standard servlet objects ( ServletContext, HttpSession, HttpServletRequest )
And provides the telosys objects ( ScreenApplication, ScreenSession, ScreenContext )
NB: the ScreenContext is available only for an 'action request'
Method Summary | |
static RequestEnv |
getEnv(javax.servlet.ServletRequest servletRequest)
|
ScreenContext |
getScreenContext()
Returns the ScreenContext associated with the current ScreenAction request |
ScreenData |
getScreenData()
Returns the ScreenData of the ScreenContext associated with the current ScreenAction request |
static void |
setEnv(javax.servlet.http.HttpServletRequest httpServletRequest,
ScreenContext screenContext)
|
static void |
setEnv(javax.servlet.http.HttpServletRequest httpServletRequest,
ScreenSession screenSession)
|
Methods inherited from class org.objectweb.telosys.common.TelosysObject |
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void setEnv(javax.servlet.http.HttpServletRequest httpServletRequest, ScreenSession screenSession)
public static void setEnv(javax.servlet.http.HttpServletRequest httpServletRequest, ScreenContext screenContext)
public static RequestEnv getEnv(javax.servlet.ServletRequest servletRequest)
public ScreenContext getScreenContext()
public ScreenData getScreenData()