Package org.opencms.loader
Interface I_CmsStaticExportDirectResponseLoader
- All Known Implementing Classes:
CmsImageLoader
public interface I_CmsStaticExportDirectResponseLoader
Capability interface for loaders which can handle on-demand static export without a local export file.
-
Method Summary
Modifier and TypeMethodDescriptionbooleantryExportDirectResponse(CmsObject cms, CmsResource resource, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) Tries to handle an on-demand static export directly.
-
Method Details
-
tryExportDirectResponse
boolean tryExportDirectResponse(CmsObject cms, CmsResource resource, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException, CmsException Tries to handle an on-demand static export directly.- Parameters:
cms- the CMS contextresource- the resource to exportreq- the current requestres- the current response- Returns:
trueif the export response has been handled- Throws:
IOException- in case writing failsCmsException- in case export fails
-