| Package | Description |
|---|---|
| org.mentawai.ajax | |
| org.mentawai.ajaxtag | |
| org.mentawai.coc | |
| org.mentawai.core | |
| org.mentawai.filter | |
| org.mentawai.util |
| Modifier and Type | Class and Description |
|---|---|
class |
AjaxConsequence |
class |
AjaxRedirectConsequence |
| Modifier and Type | Class and Description |
|---|---|
class |
AjaxtagConsequence
A Consequence for using Ajaxtag taglib (ajaxtags.sf.net).
|
class |
AjaxtagErrorConsequence
A Consequence for using Ajaxtag taglib (ajaxtags.sf.net).
|
| Modifier and Type | Method and Description |
|---|---|
Consequence |
CoCActionConfig.getConsequence(String result) |
Consequence |
OldAutoViewConsequenceProvider.getConsequence(String action,
Class<? extends Object> actionClass,
String result,
String innerAction) |
Consequence |
InnerActionConsequenceProvider.getConsequence(String action,
Class<? extends Object> actionClass,
String result,
String innerAction) |
Consequence |
ForwardConsequenceProvider.getConsequence(String action,
Class<? extends Object> actionClass,
String result,
String innerAction)
Create an consequence based on the convention described in the Class
javadoc.
|
Consequence |
DefaultConsequenceProvider.getConsequence(String action,
Class<? extends Object> actionClass,
String result,
String innerAction) |
Consequence |
ConsequenceProvider.getConsequence(String action,
Class<? extends Object> actionClass,
String result,
String innerAction)
Creates a consequence based on a convention, using the name of the
executed action, the result of the action's execution and the executed
inner action.
|
Consequence |
CoCActionConfig.getConsequence(String result,
String innerAction) |
| Modifier and Type | Class and Description |
|---|---|
class |
Chain
An action chaining consequence.
|
class |
ExceptionConsequence
Throws an exception.
|
class |
Forward
A forward web consequence.
|
class |
ForwardToActionConsequence
An action chaining consequence.
|
class |
NullConsequence
A consequence that does nothing.
|
class |
Redirect
A redirect consequence that has the following features:
Paths starting with "//" are relative to the webserver root.
|
class |
ResultConsequence
Returns the result of the action as a String.
|
class |
StreamConsequence
A web-based consequence that gets a ready-to-use input stream
from the output of the action, get the contents from that input
stream and flush them to the servlet output stream.
|
class |
StringConsequence
Returns a String as the result of an action.
|
| Modifier and Type | Method and Description |
|---|---|
static Consequence |
ApplicationManager.ajax(AjaxRenderer renderer) |
static Consequence |
ApplicationManager.chain(ActionConfig ac)
Convenient method that provides a less verbose way to create a chain.
|
static Consequence |
ApplicationManager.chain(ActionConfig ac,
String innerAction)
Convenient method that provides a less verbose way to create a chain.
|
static Consequence |
ApplicationManager.chain(Class<? extends Object> klass)
Convenient method for setting a chain.
|
static Consequence |
ApplicationManager.chain(Class<? extends Object> klass,
String innerAction)
Convenient method for setting a chain.
|
static Consequence |
ApplicationManager.exception(String msg) |
static Consequence |
ApplicationManager.fwd(ActionConfig ac) |
static Consequence |
ApplicationManager.fwd(String page)
Convenient method that provides a less verbose way to create a forward.
|
Consequence |
ActionConfig.getAutoConsequence(String result,
String innerAction) |
Consequence |
ActionConfig.getCatchAll() |
Consequence |
ActionConfig.getConsequence(String result)
Gets the consequence for the given result.
|
Consequence |
ActionConfig.getConsequence(String result,
String innerAction)
Gets the consequence for the given result of the given inner action.
|
Consequence |
ApplicationManager.getGlobalConsequence(String result)
Gets a global consequence associated with the result.
|
static Consequence |
Controller.invokeAction(ActionConfig ac,
Action action,
String innerAction,
List<Filter> filters,
StringBuilder returnedResult)
Invoke an action and return the consequence generated by this invocation.
|
static Consequence |
ApplicationManager.redir()
Convenient method that provides a less verbose way to create a redirect.
|
static Consequence |
ApplicationManager.redir(ActionConfig ac)
Redir to an action.
|
static Consequence |
ApplicationManager.redir(ActionConfig ac,
boolean flag)
Redir to an action.
|
static Consequence |
ApplicationManager.redir(boolean flag)
Convenient method that provides a less verbose way to create a redirect.
|
static Consequence |
ApplicationManager.redir(Class<?> klass)
Convenient method that provides a less verbose way to create a redirect to a Action.
|
static Consequence |
ApplicationManager.redir(Class<?> klass,
boolean appendOutput)
Convenient method that provides a less verbose way to create a redirect to a Action.
|
static Consequence |
ApplicationManager.redir(Class<?> klass,
String innerAction)
Convenient method that provides a less verbose way to create a redirect to a Action.
|
static Consequence |
ApplicationManager.redir(Class<?> klass,
String innerAction,
boolean appendOutput)
Convenient method that provides a less verbose way to create a redirect to a Action.
|
static Consequence |
ApplicationManager.redir(String page)
Convenient method that provides a less verbose way to create a redirect.
|
static Consequence |
ApplicationManager.redir(String page,
boolean flag)
Convenient method that provides a less verbose way to create a redirect.
|
static Consequence |
ApplicationManager.result() |
| Modifier and Type | Method and Description |
|---|---|
ActionConfig |
ActionConfig.addConsequence(String result,
Consequence c)
Adds a consequence for the given result.
|
ActionConfig |
ActionConfig.addConsequence(String result,
String innerAction,
Consequence c)
Adds a consequence for the given result of the given inner action.
|
void |
ApplicationManager.addGlobalConsequence(String result,
Consequence c)
Register a consequence for all actions in this application manager.
|
void |
AfterConsequenceFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
ActionConfig |
ActionConfig.all(Consequence c) |
ActionConfig |
ActionConfig.catchAll(Consequence c) |
void |
ApplicationManager.on(String result,
Consequence c)
Shorter version of addGlobalConsequence.
|
ActionConfig |
ActionConfig.on(String result,
Consequence c)
Shorter version of addConsequence.
|
ActionConfig |
ActionConfig.on(String result,
String innerAction,
Consequence c)
Shorter version of addConsequence.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
OutputFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
OutjectionFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
MentaContainerFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
JpaFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
IoCFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
HibernateFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
HeadersFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
CookiesFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
ConnectionFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
void |
ApplicationFilter.afterConsequence(Action action,
Consequence c,
boolean conseqExecuted,
boolean actionExecuted,
String result) |
| Modifier and Type | Method and Description |
|---|---|
static void |
DebugServletFilter.debug(Action a,
Consequence c) |
static void |
DebugServletFilter.debug(StringBuffer sb,
Consequence c) |
Copyright © 2015. All Rights Reserved.