Interface AssetRenditionsDownloadOrchestrator


  • @ProviderType
    public interface AssetRenditionsDownloadOrchestrator
    • Method Detail

      • execute

        void execute​(org.apache.sling.api.SlingHttpServletRequest request,
                     org.apache.sling.api.SlingHttpServletResponse response,
                     List<AssetModel> assets,
                     List<String> renditionNames)
              throws IOException,
                     AssetRenditionsException
        Parameters:
        request - the request
        response - the response
        assets - the assets to pack
        renditionNames - the renditions names of the assets to pack
        Throws:
        IOException - when the binary data cannot be streamed out
        AssetRenditionsException - when an error occurs
      • accepts

        boolean accepts​(org.apache.sling.api.SlingHttpServletRequest request,
                        List<AssetModel> assets,
                        List<String> renditionNames)
        Parameters:
        request - the request
        assets - the assets to pack
        renditionNames - the renditions names of the assets to pack
        Returns:
        true if this implementation should pack, otherwise false.