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.url
field withJsonSerialize
.Responsible for being able to take anAsset
and building a fully resolved content URL path that can be used to directly fetch the binary data of the asset.Serializer forAsset.url
that writes the URL field itself and also introduces a newcontentUrl
property on the serialized output.ImplementsContentUrlResolver
for web applications of typeConditionalOnWebApplication.Type.SERVLET
.