60 * @return the request path the annotated method should handle |
60 * @return the request path the annotated method should handle |
61 */ |
61 */ |
62 String requestPath() default ""; |
62 String requestPath() default ""; |
63 |
63 |
64 /** |
64 /** |
65 * Returns the properties key for the (sub) menu label. |
65 * Specifies the properties key for the sub menu label. |
|
66 * An empty string (default) means that no sub menu entry shall be created. |
66 * <p> |
67 * <p> |
67 * This should only be used for {@link HttpMethod#GET} requests. |
68 * This should only be used for {@link HttpMethod#GET} requests. |
68 * |
69 * |
69 * @return the properties key |
70 * @return the properties key |
70 */ |
71 */ |
71 String menuKey() default ""; |
72 String menuKey() default ""; |
|
73 |
|
74 /** |
|
75 * May be changed to control the ordering of menu items. |
|
76 * |
|
77 * @return an integer to control the ordering |
|
78 */ |
|
79 int menuSequence() default 0; |
72 } |
80 } |