// this has to take into consideration:
// 1 - token replacement (see cde-core#CdfRunJsDashboardWriteContext.replaceTokens())
// 2 - resources being called from other resources (ex: resource plugin-samples/template.css calls resource
// images/button-contact-png)
new ResourcesApi().getResource( pathParams.getStringParameter( MethodParams.COMMAND, "" ), getResponse() );
} else {
String result = renderer
.render( "", "", filePath, inferScheme, root, absolute, bypassCacheRead, debug, viewId, style, getRequest() );
getResponse().setContentType( MimeTypes.HTML );