Interface AssetRenditionsDownloadOrchestrator
-
@ProviderType public interface AssetRenditionsDownloadOrchestrator
-
-
Field Summary
Fields Modifier and Type Field Description static String
REQUEST_PARAMETER_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accepts(org.apache.sling.api.SlingHttpServletRequest request, List<AssetModel> assets, List<String> renditionNames)
void
execute(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, List<AssetModel> assets, List<String> renditionNames)
-
-
-
Field Detail
-
REQUEST_PARAMETER_NAME
static final String REQUEST_PARAMETER_NAME
- See Also:
- Constant Field Values
-
-
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 requestresponse
- the responseassets
- the assets to packrenditionNames
- the renditions names of the assets to pack- Throws:
IOException
- when the binary data cannot be streamed outAssetRenditionsException
- when an error occurs
-
accepts
boolean accepts(org.apache.sling.api.SlingHttpServletRequest request, List<AssetModel> assets, List<String> renditionNames)
- Parameters:
request
- the requestassets
- the assets to packrenditionNames
- the renditions names of the assets to pack- Returns:
- true if this implementation should pack, otherwise false.
-
-