Package jmri.server.web.app
Class WebAppConfiguration
java.lang.Object
jmri.server.web.AbstractWebServerConfiguration
jmri.server.web.app.WebAppConfiguration
- All Implemented Interfaces:
WebServerConfiguration
Provide default paths to the Angular JMRI web application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet paths for static content that would otherwise be handled by theWebAppServlet.Methods inherited from class jmri.server.web.AbstractWebServerConfiguration
getForbiddenPaths, getRedirectedPaths
-
Constructor Details
-
WebAppConfiguration
public WebAppConfiguration()
-
-
Method Details
-
getFilePaths
Get paths for static content that would otherwise be handled by theWebAppServlet. Get paths that are to be returned by the web server as individual files or directory listings. Note that all files or directories listed must be in theFileUtil.PREFERENCES,FileUtil.PROFILE,FileUtil.SETTINGS, orFileUtil.PROGRAMJMRI portable path.- Specified by:
getFilePathsin interfaceWebServerConfiguration- Overrides:
getFilePathsin classAbstractWebServerConfiguration- Returns:
- a map containing the web path as the key, and the path on disk as the value; return an empty map if none
-