src/main/kotlin/de/uapcore/lightpit/Constants.kt

changeset 184
e8eecee6aadf
parent 180
009700915269
child 198
94f174d591ab
--- a/src/main/kotlin/de/uapcore/lightpit/Constants.kt	Sat Jan 23 14:47:59 2021 +0100
+++ b/src/main/kotlin/de/uapcore/lightpit/Constants.kt	Fri Apr 02 11:59:14 2021 +0200
@@ -52,7 +52,7 @@
     const val CTX_ATTR_DB_DIALECT = "db-dialect"
 
     /**
-     * Key for the request attribute containing the optional navigation menu jsp.
+     * Key for the request attribute containing the optional navigation menu.
      */
     const val REQ_ATTR_NAVIGATION = "navMenu"
 
@@ -88,6 +88,11 @@
     const val REQ_ATTR_REDIRECT_LOCATION = "redirectLocation"
 
     /**
+     * Key for the optional return link based on the referer header.
+     */
+    const val REQ_ATTR_REFERER = "returnLink"
+
+    /**
      * Key for the current language selection within the session.
      */
     const val SESSION_ATTR_LANGUAGE = "language"

mercurial