Uses of Class
org.opencms.flex.CmsFlexController
Packages that use CmsFlexController
Package
Description
Provides low-level JSP integration funtionality for OpenCms,
also implements the FlexCache, a declarative parameter-based cache.
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
Low-level functions to manage the loading of resources from the OpenCms VFS.
-
Uses of CmsFlexController in org.opencms.flex
Methods in org.opencms.flex that return CmsFlexControllerModifier and TypeMethodDescriptionstatic CmsFlexControllerCmsFlexController.getController(javax.servlet.ServletRequest req) Returns the controller from the given request, ornullif the request is not running inside OpenCms.Methods in org.opencms.flex with parameters of type CmsFlexControllerModifier and TypeMethodDescriptionstatic voidCmsFlexController.setController(javax.servlet.ServletRequest req, CmsFlexController controller) Stores the given controller in the given request (using a request attribute).Constructors in org.opencms.flex with parameters of type CmsFlexControllerModifierConstructorDescriptionCmsFlexController(CmsObject cms, CmsFlexController base) Creates a new controller form the old one, exchanging just the provided OpenCms user context.CmsFlexRequest(javax.servlet.http.HttpServletRequest req, CmsFlexController controller) Creates a new CmsFlexRequest wrapper which is most likely the "Top" request wrapper, i.e.CmsFlexResponse(javax.servlet.http.HttpServletResponse res, CmsFlexController controller) Constructor for the CmsFlexResponse, this variation one is usually used to wrap responses for further include calls in OpenCms.CmsFlexResponse(javax.servlet.http.HttpServletResponse res, CmsFlexController controller, boolean streaming, boolean isTopElement) Constructor for the CmsFlexResponse, this variation is usually used for the "top" response. -
Uses of CmsFlexController in org.opencms.jsp
Fields in org.opencms.jsp declared as CmsFlexControllerModifier and TypeFieldDescriptionprotected CmsFlexControllerCmsJspTagFormatter.m_controllerThe FlexController for the current request.protected CmsFlexControllerCmsJspTagResourceLoad.m_controllerThe FlexController for the current request.protected CmsFlexControllerCmsJspTagSearch.m_controllerThe FlexController for the current request.Methods in org.opencms.jsp that return CmsFlexControllerModifier and TypeMethodDescriptionprotected CmsFlexControllerCmsJspBean.getController()Returns the Flex controller derived from the request this bean was initialized with.Methods in org.opencms.jsp with parameters of type CmsFlexControllerModifier and TypeMethodDescriptionstatic StringCmsJspTagInfo.getDescriptionInfo(CmsFlexController controller, javax.servlet.http.HttpServletRequest req) Returns the description of a page delivered from OpenCms, usually used for thedescriptionmetatag of a HTML page.static StringCmsJspTagInfo.getKeywordsInfo(CmsFlexController controller, javax.servlet.http.HttpServletRequest req) Returns the keywords of a page delivered from OpenCms, usually used for thekeywordsmetatag of a HTML page.static StringCmsJspTagInfo.getTitleInfo(CmsFlexController controller, javax.servlet.http.HttpServletRequest req) Returns the title of a page delivered from OpenCms, usually used for the<title>tag of a HTML page. -
Uses of CmsFlexController in org.opencms.loader
Methods in org.opencms.loader that return CmsFlexControllerModifier and TypeMethodDescriptionprotected CmsFlexControllerCmsJspLoader.getController(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean streaming, boolean top) Delivers a Flex controller, either by creating a new one, or by re-using an existing one.protected CmsFlexControllerCmsRedirectLoader.getController(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean streaming, boolean top) Delivers a Flex controller, either by creating a new one, or by re-using an existing one.Methods in org.opencms.loader with parameters of type CmsFlexControllerModifier and TypeMethodDescriptionprotected byte[]CmsJspLoader.dispatchJsp(CmsFlexController controller) Dispatches the current request to the OpenCms internal JSP.protected byte[]CmsJspLoader.parseJsp(byte[] byteContent, String encoding, CmsFlexController controller, Set<String> updatedFiles, boolean isHardInclude) Parses the JSP and modifies OpenCms critical directive information.protected StringCmsJspLoader.parseJspCmsTag(String content, CmsFlexController controller, Set<String> updatedFiles) Parses the JSP content for the special<%cms file="..." %>tag.protected StringCmsJspLoader.parseJspIncludes(String content, CmsFlexController controller, Set<String> updatedFiles) Parses the JSP content for includes and replaces all OpenCms VFS path information with information for the real FS.protected StringCmsJspLoader.parseJspLinkMacros(String content, CmsFlexController controller) Parses all jsp link macros, and replace them by the right target path.protected CmsResourceCmsJspLoader.readJspResource(CmsFlexController controller, String jspName) Returns the jsp resource identified by the given name, using the controllers cms context.protected StringCmsJspLoader.updateJsp(String vfsName, CmsFlexController controller, Set<String> updatedFiles) Updates a JSP page in the "real" file system in case the VFS resource has changed based on the resource name.CmsJspLoader.updateJsp(CmsResource resource, CmsFlexController controller, Set<String> updatedFiles) Updates a JSP page in the "real" file system in case the VFS resource has changed.protected booleanCmsJspLoader.updateStrongLinks(CmsResource resource, CmsFlexController controller, Set<String> updatedFiles) Updates all jsp files that include the given jsp file using the 'link.strong' macro.