|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface checks the requested resource from the OpenCms request context
and returns it to the calling method, which will usually be
OpenCms.initResource(CmsObject, String, HttpServletRequest, HttpServletResponse)
.
Method Summary | |
CmsResource |
initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Possibility to modify or change the CmsFile with the CmsObject. |
Method Detail |
public CmsResource initResource(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CmsResourceInitException
Caution: reading parameters from the request, destroys special characters in all parameters, because the encoding for the request was not set yet.
resource
- the requested filecms
- the current CmsObjectreq
- the current requestres
- the current response
CmsResourceInitException
- if other implementations of the interface should not be executed
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |