1.1 --- a/src/main/java/de/uapcore/lightpit/RequestMapping.java Tue May 19 18:49:48 2020 +0200 1.2 +++ b/src/main/java/de/uapcore/lightpit/RequestMapping.java Tue May 19 19:34:57 2020 +0200 1.3 @@ -51,30 +51,10 @@ 1.4 1.5 /** 1.6 * Specifies the request path relative to the module path. 1.7 - * <p> 1.8 - * If a menu key is specified, this is also the path, which is linked 1.9 - * by the menu entry. 1.10 - * <p> 1.11 - * The path must be specified <em>without</em> leading and trailing slash. 1.12 + * The path must be specified <em>without</em> leading slash, but may have a trailing slash. 1.13 + * Requests will only be handled if the path exactly matches. 1.14 * 1.15 * @return the request path the annotated method should handle 1.16 */ 1.17 String requestPath() default ""; 1.18 - 1.19 - /** 1.20 - * Specifies the properties key for the sub menu label. 1.21 - * An empty string (default) means that no sub menu entry shall be created. 1.22 - * <p> 1.23 - * This should only be used for {@link HttpMethod#GET} requests. 1.24 - * 1.25 - * @return the properties key 1.26 - */ 1.27 - String menuKey() default ""; 1.28 - 1.29 - /** 1.30 - * May be changed to control the ordering of menu items. 1.31 - * 1.32 - * @return an integer to control the ordering 1.33 - */ 1.34 - int menuSequence() default 0; 1.35 }