Package com.adobe.cq.wcm.spi
@Version("0.1.0")
package com.adobe.cq.wcm.spi
Defines package version.
-
InterfacesClassDescriptionImplementations of this service interface declare themselves capable of handling asset delivery, primarily by accepting a
Resourceand an optionalMapof desired transformations to be applied while delivering it.
Implementations must provide aAssetDelivery.getDeliveryURL(org.apache.sling.api.resource.Resource, java.util.Map<java.lang.String, java.lang.Object>)method for this purpose, which should return a URL if it can handle the asset and its requested transforms, ornullotherwise.
Multiple implementations of this service may exist at any given time, potentially with different service rankings; consumers of this service may choose to handle them as they deem fit.