Package com.broadleafcommerce.asset.jackson
package com.broadleafcommerce.asset.jackson
-
ClassDescriptionSince
ContentUrlResolver(which is used internally byContentUrlSerializer) can only work by using prefixes that are only available in a web application context, we should not directly annotate theAsset.urlfield withJsonSerialize.Responsible for being able to take anAssetand building a fully resolved content URL path that can be used to directly fetch the binary data of the asset.Serializer forAsset.urlthat writes the URL field itself and also introduces a newcontentUrlproperty on the serialized output.ImplementsContentUrlResolverfor web applications of typeConditionalOnWebApplication.Type.SERVLET.