|
static final String | GOTO = "goto" |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 32 of file Interceptors.java.
◆ executeApp()
static boolean org.turro.action.Interceptors.executeApp |
( |
Application |
application, |
|
|
Map< String, String[]> |
parameterMap |
|
) |
| |
|
static |
Definition at line 53 of file Interceptors.java.
55 KeyValueMap kvm = Parameters.from(parameterMap).asMap();
56 String goTo = kvm.get(
GOTO);
57 if(!Strings.isBlank(goTo)) {
58 for(IInterceptor iInterceptor : Instances.cached().byAnnotation(ElephantInterceptor.class, IInterceptor.class)) {
59 if(iInterceptor.executeApp(application, goTo, kvm)) {
◆ executeWeb()
static boolean org.turro.action.Interceptors.executeWeb |
( |
IConstructor |
constructor | ) |
|
|
static |
Definition at line 38 of file Interceptors.java.
40 KeyValueMap kvm = Parameters.from(constructor.getRequest().getParameterMap()).asMap();
41 String goTo = kvm.get(
GOTO);
42 if(!Strings.isBlank(goTo)) {
43 for(IInterceptor iInterceptor : Instances.cached().byAnnotation(ElephantInterceptor.class, IInterceptor.class)) {
44 if(iInterceptor.executeWeb(constructor, goTo, kvm)) {
◆ parameters() [1/2]
static Parameters org.turro.action.Interceptors.parameters |
( |
String |
root | ) |
|
|
static |
Definition at line 70 of file Interceptors.java.
71 return Parameters.instance()
72 .add(Interceptors.GOTO, root);
◆ parameters() [2/2]
static Parameters org.turro.action.Interceptors.parameters |
( |
String |
root, |
|
|
String |
id |
|
) |
| |
|
static |
Definition at line 75 of file Interceptors.java.
76 return Parameters.instance()
77 .add(Interceptors.GOTO, root)
78 .add(root +
"Id",
id);
◆ GOTO
final String org.turro.action.Interceptors.GOTO = "goto" |
|
static |
The documentation for this class was generated from the following file: