|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.PortalRequestContext
public class PortalRequestContext
Stores all request context on Lumis Portal.
The request context can be Devices informations, Session informations, information from External Entities, etc.
It's possible to plug custom Request Context developed by user. In this case
just use the setEntry(String, IPortalRequestContextEntry)
.
#IPortalRequestContext}
Constructor Summary | |
---|---|
PortalRequestContext()
|
Method Summary | |
---|---|
IDevice |
getDeviceEntry()
Returns the Device Request Context thats contains all information about the device that is making the current request. |
Object |
getEntry(String key)
Returns the specific request context based on Key parameter. |
static PortalRequestContext |
getPortalRequestContext(HttpServletRequest request)
Returns the Portal Request Context from a given request. |
static PortalRequestContext |
getPortalRequestContext(IServiceInterfaceRequest request)
Returns the Portal Request Context from a given request. |
Object |
resolveVariable(String pName)
|
void |
setEntry(String key,
IPortalRequestContextEntry value)
Puts a custom request context on the context map to be used in another time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortalRequestContext()
Method Detail |
---|
public Object getEntry(String key)
key
- id of the Request context to be find. This information is
the entry key of the map.
public IDevice getDeviceEntry()
public void setEntry(String key, IPortalRequestContextEntry value)
key
- name of the Request Context. This information is the entry
key of the map.value
- the custom context.public Object resolveVariable(String pName) throws ELException
resolveVariable
in interface VariableResolver
ELException
public static PortalRequestContext getPortalRequestContext(HttpServletRequest request)
request
- request that contains the PortalRequestContext.
public static PortalRequestContext getPortalRequestContext(IServiceInterfaceRequest request)
request
- request that contains the PortalRequestContext.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |