use of com.flowlogix.web.services.internal.AssetPathProcessor in project flowlogix by flowlogix.
the class TapestryRemoteServiceServlet method doGetSerializationPolicy.
@Override
protected SerializationPolicy doGetSerializationPolicy(HttpServletRequest request, String moduleBaseURL, String strongName) {
final SymbolSource symbolSource = ExternalServiceUtil.getTapestryService(getServletContext(), SymbolSource.class);
final String prefix = symbolSource.valueForSymbol(SymbolConstants.ASSET_PATH_PREFIX);
final AssetPathProcessor pathProcessor = new AssetPathProcessor(prefix);
return super.doGetSerializationPolicy(request, pathProcessor.removeAssetPathPart(moduleBaseURL), strongName);
}
Aggregations