|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLogEnabled | +--org.apache.cocoon.components.modules.input.AbstractInputModule | +--org.apache.cocoon.components.modules.input.AbstractJXPathModule | +--org.apache.cocoon.components.modules.input.RequestModule
RequestModule provides access to Request object properties.
To get access to request properties use XPath syntax, e.g. to get the request
context path use 'contextPath'
as the attribute name.
More complex expressions are also supported, e.g.:
'userPrincipal/name'will return the name property of the Principal object returned by the request.getUserPrincipal() method. If requested object is not found then an exception will be thrown.
Fields inherited from class org.apache.cocoon.components.modules.input.AbstractJXPathModule |
library |
Fields inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule |
settings |
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule |
ROLE |
Constructor Summary | |
RequestModule()
|
Method Summary | |
protected java.lang.Object |
getContextObject(org.apache.avalon.framework.configuration.Configuration modeConf,
java.util.Map objectModel)
Returns the object which should be used as JXPath context. |
Methods inherited from class org.apache.cocoon.components.modules.input.AbstractJXPathModule |
configure, getAttribute, getAttributeNames, getAttributeValues, getFunctions, getPackages, setupExtensions |
Methods inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule |
dispose |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestModule()
Method Detail |
protected java.lang.Object getContextObject(org.apache.avalon.framework.configuration.Configuration modeConf, java.util.Map objectModel)
AbstractJXPathModule
getContextObject
in class AbstractJXPathModule
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |