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'
Holds the ScreenContext for the current http request
Field Summary | |
static int |
DO_NOT_EXPOSE_DATA
|
static int |
EXPOSE_DATA
|
Method Summary | |
static RequestEnv |
getEnv(javax.servlet.ServletRequest servletRequest)
Returns the RequestEnv instance stored in the request attributes |
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,
int flag)
Constructs a RequestEnv instance and store it in the request attributes Since v 1.0.1 expose the ScreenData elements (if any) as request attributes |
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 |
Field Detail |
public static final int EXPOSE_DATA
public static final int DO_NOT_EXPOSE_DATA
Method Detail |
public static void setEnv(javax.servlet.http.HttpServletRequest httpServletRequest, ScreenContext screenContext, int flag)
httpServletRequest
- screenContext
- flag
- public static RequestEnv getEnv(javax.servlet.ServletRequest servletRequest)
servletRequest
-
public ScreenContext getScreenContext()
public ScreenData getScreenData()