Interface exposing the following attributes needed to produce a content URL:
applicationId
tenantId
url
provider
Abstract class implementing AssetSourceAware
. EntityAsset
objects represent a relationship between an Asset
and an entity, containing additional attributes to support assets of different DefaultAssetTypes
This is the service responsible for building a fully resolved content URL path that can be used to directly fetch the binary data from an AssetSourceAware
object.
Out-of-box Broadleaf provides an AssetContentUrlResolver
that is prepared to handle the following cases:
When the asset is using the BROADLEAF
asset provider, it will prepend the contentUrlPrefix
defined in AssetProviderProperties
to the original URL.
When using any other provider, it will duplicate the original URL.