Interface I_CmsStaticExportDirectResponseLoader

All Known Implementing Classes:
CmsImageLoader

Capability interface for loaders which can handle on-demand static export without a local export file.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    tryExportDirectResponse(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 context
      resource - the resource to export
      req - the current request
      res - the current response
      Returns:
      true if the export response has been handled
      Throws:
      IOException - in case writing fails
      CmsException - in case export fails