if( path.endsWith( "index.html" ) ) {
if( secureResource instanceof DigestResource ) {
return new SimpleDigestResource( "index.html", modDate, consolePageContent.getBytes(), "text/html", "console", (DigestResource) secureResource);
} else {
return new SimpleResource( "index.html", modDate, consolePageContent.getBytes(), "text/html", "console", secureResource );
}
} else if( path.endsWith( "dojo.js" ) ) {
if( secureResource instanceof DigestResource ) {
return new SimpleDigestResource( "dojo.js", modDate, dojoJsContent.getBytes(), "text/html", "console", (DigestResource) secureResource);
} else {
return new SimpleResource( "dojo.js", modDate, dojoJsContent.getBytes(), "text/html", "console", secureResource );
}
} else if( path.endsWith( "console.json" ) ) {
if( secureResource instanceof DigestResource ) {
return new DigestConsole( host, wrappedFactory, consoleName, (DigestResource) secureResource, modDate, mapOfFactories );
} else {