@ConsumerType
public interface AssetDelivery
Resource and an optional Map of desired transformations to be applied while delivering it.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, or null otherwise.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeliveryURL(Resource resource,
java.util.Map<java.lang.String,java.lang.Object> parameterMap)
This method returns the url to retrieve a specific asset with provided collection of Parameters.
|
@Nullable
java.lang.String getDeliveryURL(@Nonnull
Resource resource,
@Nullable
java.util.Map<java.lang.String,java.lang.Object> parameterMap)
resource - Resource for which delivery URL is neededparameterMap - Collection of parameters that are required to fetch the url such as width, height quality etc.Copyright © 2010 - 2023 Adobe. All Rights Reserved