|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.opencms.launcher.A_CmsLauncher
|
+--com.opencms.launcher.CmsDumpLauncher
|
+--com.opencms.flex.CmsDumpLoader
Dump loader for binary or other unprocessed resource types.
This loader is used to deliver static sub-elements of pages processed by other loaders.
| Field Summary |
| Fields inherited from class com.opencms.launcher.CmsDumpLauncher |
m_templateCache |
| Fields inherited from interface com.opencms.flex.I_CmsResourceLoader |
C_LOADER_CACHENAME, C_LOADER_CACHEPROPERTY, C_LOADER_EXCEPTION_PREFIX, C_LOADER_STREAMPROPERTY |
| Fields inherited from interface com.opencms.launcher.I_CmsLauncher |
C_TYPE_DUMP, C_TYPE_JAVASCRIPT, C_TYPE_JSP, C_TYPE_LINK, C_TYPE_PDF, C_TYPE_VELOCITY, C_TYPE_XML |
| Fields inherited from interface com.opencms.boot.I_CmsLogChannels |
C_FLEX_CACHE, C_FLEX_LOADER, C_LOGGING, C_MODULE_CRITICAL, C_MODULE_DEBUG, C_MODULE_INFO, C_OPENCMS_CACHE, C_OPENCMS_CRITICAL, C_OPENCMS_CRONSCHEDULER, C_OPENCMS_DEBUG, C_OPENCMS_ELEMENTCACHE, C_OPENCMS_INFO, C_OPENCMS_INIT, C_OPENCMS_POOL, C_OPENCMS_STATICEXPORT, C_OPENCMS_STREAMING, C_PREPROCESSOR_IS_LOGGING |
| Constructor Summary | |
CmsDumpLoader()
The constructor of the class is empty and does nothing. |
|
| Method Summary | |
void |
destroy()
Destroy this ResourceLoder, this is a NOOP so far. |
String |
getResourceLoaderInfo()
Return a String describing the ResourceLoader, which is "A simple dump loader that extends from com.opencms.launcher.CmsDumpLauncher" |
void |
init(A_OpenCms openCms)
Initialize the ResourceLoader, not much done here, only the FlexCache is initialized for dump elements. |
void |
load(CmsObject cms,
CmsFile file,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Basic top-page processing method for this I_CmsResourceLoader, this method is called if the page is called as a sub-element on a page not already loded with a I_CmsResourceLoader, which most often would be a I_CmsLauncher then. |
void |
service(CmsObject cms,
CmsResource file,
CmsFlexRequest req,
CmsFlexResponse res)
Does the job of dumping the contents of the requested file to the output stream, this method is called directly if the element is called as a sub-element from another I_CmsResourceLoader. |
| Methods inherited from class com.opencms.launcher.CmsDumpLauncher |
callCanonicalRoot, clearCache, clearLauncherCache, getClassName, getLauncherId, getTemplateCache, getTemplateClass, handleException, initlaunch, launch, setOpenCms, writeBytesToResponse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsDumpLoader()
| Method Detail |
public void destroy()
destroy in interface I_CmsResourceLoaderpublic String getResourceLoaderInfo()
"A simple dump loader that extends from com.opencms.launcher.CmsDumpLauncher"
getResourceLoaderInfo in interface I_CmsResourceLoaderpublic void init(A_OpenCms openCms)
init in interface I_CmsResourceLoaderopenCms - an OpenCms object to use for initalizing
public void load(CmsObject cms,
CmsFile file,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
load in interface I_CmsResourceLoadercms - the initialized CmsObject which provides user permissionsfile - the requested OpenCms VFS resourcereq - the original servlet requestres - the original servlet response
javax.servlet.ServletException - might be thrown in the process of including the JSP
IOException - might be thrown in the process of including the JSPI_CmsResourceLoader,
I_CmsLauncher,
service(CmsObject, CmsResource, CmsFlexRequest, CmsFlexResponse)
public void service(CmsObject cms,
CmsResource file,
CmsFlexRequest req,
CmsFlexResponse res)
throws javax.servlet.ServletException,
IOException
service in interface I_CmsResourceLoadercms - used to access the OpenCms VFSfile - the reqested JSP file resource in the VFSreq - the current requestres - the current response
javax.servlet.ServletException - might be thrown in the process of including the JSP
IOException - might be thrown in the process of including the JSPCmsFlexRequestDispatcher
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||