IPluginManager pluginManager = PentahoSystem.get( IPluginManager.class );
if ( !StringUtils.isEmpty( path ) && pluginManager.isPublic( pluginId, resource ) ) {
Response readFileResponse = new PluginResource( response ).readFile( pluginId, resource );
if ( readFileResponse.getStatus() != Status.NOT_FOUND.getStatusCode() ) {
return readFileResponse;
}
}