|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.flex.CmsFlexRequestKey
public class CmsFlexRequestKey
Describes the caching behaviour (or caching options) for a Flex request.
Constructor Summary | |
---|---|
CmsFlexRequestKey(javax.servlet.http.HttpServletRequest req,
java.lang.String target,
boolean online)
This constructor is used when building a cache key from a request. |
Method Summary | |
---|---|
java.lang.String |
getElement()
Returns the element. |
java.lang.String |
getEncoding()
Returns the encoding. |
java.lang.String |
getIp()
Returns the ip. |
java.lang.String |
getLocale()
Returns the locale. |
java.util.Map |
getParams()
Returns the params. |
java.lang.Integer |
getPort()
Returns the port. |
java.lang.String |
getResource()
Returns the resource. |
java.lang.String |
getScheme()
Returns the schemes. |
javax.servlet.http.HttpSession |
getSession()
Returns the the current users session, or null if the current user
has no session. |
java.lang.String |
getSite()
Returns the site root. |
java.lang.String |
getUri()
Returns the uri. |
java.lang.String |
getUser()
Returns the user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsFlexRequestKey(javax.servlet.http.HttpServletRequest req, java.lang.String target, boolean online)
The request contains several data items that are neccessary to construct the output. These items are e.g. the Query-String, the requested resource, the current time etc. etc. All required items are saved in the constructed cache - key.
req
- the request to construct the key fortarget
- the requested resource in the OpenCms VFSonline
- must be true for an online resource, false for offline resourcesMethod Detail |
---|
public java.lang.String getElement()
public java.lang.String getEncoding()
public java.lang.String getIp()
public java.lang.String getLocale()
public java.util.Map getParams()
public java.lang.Integer getPort()
public java.lang.String getResource()
public java.lang.String getScheme()
public javax.servlet.http.HttpSession getSession()
null
if the current user
has no session.
null
if the current user has no sessionpublic java.lang.String getSite()
public java.lang.String getUri()
public java.lang.String getUser()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |