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 CmsFlexController
CmsFlexController.getController
(javax.servlet.ServletRequest req) Returns the controller from the given request, ornull
if the request is not running inside OpenCms.Methods in org.opencms.flex with parameters of type CmsFlexControllerModifier and TypeMethodDescriptionstatic void
CmsFlexController.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 CmsFlexController
CmsJspTagFormatter.m_controller
The FlexController for the current request.protected CmsFlexController
CmsJspTagResourceLoad.m_controller
The FlexController for the current request.protected CmsFlexController
CmsJspTagSearch.m_controller
The FlexController for the current request.Methods in org.opencms.jsp that return CmsFlexControllerModifier and TypeMethodDescriptionprotected CmsFlexController
CmsJspBean.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 String
CmsJspTagInfo.getDescriptionInfo
(CmsFlexController controller, javax.servlet.http.HttpServletRequest req) Returns the description of a page delivered from OpenCms, usually used for thedescription
metatag of a HTML page.static String
CmsJspTagInfo.getKeywordsInfo
(CmsFlexController controller, javax.servlet.http.HttpServletRequest req) Returns the keywords of a page delivered from OpenCms, usually used for thekeywords
metatag of a HTML page.static String
CmsJspTagInfo.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 CmsFlexController
CmsJspLoader.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 CmsFlexController
CmsRedirectLoader.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 String
CmsJspLoader.parseJspCmsTag
(String content, CmsFlexController controller, Set<String> updatedFiles) Parses the JSP content for the special<%cms file="..." %>
tag.protected String
CmsJspLoader.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 String
CmsJspLoader.parseJspLinkMacros
(String content, CmsFlexController controller) Parses all jsp link macros, and replace them by the right target path.protected CmsResource
CmsJspLoader.readJspResource
(CmsFlexController controller, String jspName) Returns the jsp resource identified by the given name, using the controllers cms context.protected String
CmsJspLoader.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 boolean
CmsJspLoader.updateStrongLinks
(CmsResource resource, CmsFlexController controller, Set<String> updatedFiles) Updates all jsp files that include the given jsp file using the 'link.strong' macro.