Package io.github.sigmacasino.routes
Class Root
java.lang.Object
io.github.sigmacasino.HTTPRoute
io.github.sigmacasino.GetRoute
io.github.sigmacasino.HTMLTemplateRoute
io.github.sigmacasino.routes.Root
- All Implemented Interfaces:
spark.Route
The root route of the application (empty path).
This route serves the index.html template.
-
Field Summary
Fields inherited from class io.github.sigmacasino.HTTPRoute
app, loginRequired, path
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHTMLTemplatePath
(spark.Request request) Returns the path to the Jinjava HTML template.Methods inherited from class io.github.sigmacasino.HTMLTemplateRoute
getNotificationDefinitions, handleGet, populateContext
Methods inherited from class io.github.sigmacasino.GetRoute
handle, registerSparkRoute
-
Constructor Details
-
Root
-
-
Method Details
-
getHTMLTemplatePath
Description copied from class:HTMLTemplateRoute
Returns the path to the Jinjava HTML template.- Specified by:
getHTMLTemplatePath
in classHTMLTemplateRoute
-