src/main/java/de/uapcore/lightpit/RequestMapping.java

changeset 70
821c4950b619
parent 45
cc7f082c5ef3
child 130
7ef369744fd1
--- a/src/main/java/de/uapcore/lightpit/RequestMapping.java	Tue May 19 18:49:48 2020 +0200
+++ b/src/main/java/de/uapcore/lightpit/RequestMapping.java	Tue May 19 19:34:57 2020 +0200
@@ -51,30 +51,10 @@
 
     /**
      * Specifies the request path relative to the module path.
-     * <p>
-     * If a menu key is specified, this is also the path, which is linked
-     * by the menu entry.
-     * <p>
-     * The path must be specified <em>without</em> leading and trailing slash.
+     * The path must be specified <em>without</em> leading slash, but may have a trailing slash.
+     * Requests will only be handled if the path exactly matches.
      *
      * @return the request path the annotated method should handle
      */
     String requestPath() default "";
-
-    /**
-     * Specifies the properties key for the sub menu label.
-     * An empty string (default) means that no sub menu entry shall be created.
-     * <p>
-     * This should only be used for {@link HttpMethod#GET} requests.
-     *
-     * @return the properties key
-     */
-    String menuKey() default "";
-
-    /**
-     * May be changed to control the ordering of menu items.
-     *
-     * @return an integer to control the ordering
-     */
-    int menuSequence() default 0;
 }

mercurial