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

changeset 45
cc7f082c5ef3
parent 34
824d4042c857
child 70
821c4950b619
equal deleted inserted replaced
44:835dd169642a 45:cc7f082c5ef3
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 }

mercurial