Line | |
---|
1 | package com.ether.annotation; |
---|
2 | |
---|
3 | import org.jetbrains.annotations.NotNull; |
---|
4 | |
---|
5 | import java.lang.annotation.ElementType; |
---|
6 | import java.lang.annotation.Retention; |
---|
7 | import java.lang.annotation.RetentionPolicy; |
---|
8 | import java.lang.annotation.Target; |
---|
9 | |
---|
10 | @Retention(RetentionPolicy.RUNTIME) |
---|
11 | @Target(ElementType.METHOD) |
---|
12 | public @interface ControllerMethod |
---|
13 | { |
---|
14 | @NotNull String view() default ""; |
---|
15 | |
---|
16 | boolean jsonResult() default false; |
---|
17 | |
---|
18 | boolean loginMandatory() default false; |
---|
19 | |
---|
20 | boolean requestMandatory() default false; |
---|
21 | |
---|
22 | boolean backofficeMethod() default false; |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.