| Package | Description |
|---|---|
| org.mentawai.coc | |
| org.mentawai.core | |
| org.mentawai.guice | |
| org.mentawai.jruby | |
| org.mentawai.spring | |
| org.mentawai.util |
| Modifier and Type | Class and Description |
|---|---|
class |
CoCActionConfig
A action config that uses Convention over Configuration.
|
| Modifier and Type | Method and Description |
|---|---|
ActionConfig |
CoCApplicationManager.getActionConfig(String name) |
ActionConfig |
CoCApplicationManager.getActionConfig(String name,
String innerAction) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassActionConfig
Deprecated.
|
class |
SingleInstanceActionConfig
Use this action config if you want your action to be a single instance for all requests,
in other words, you don't want to create a new instance of your action for every request.
|
| Modifier and Type | Method and Description |
|---|---|
ActionConfig |
ApplicationManager.action(Class<? extends Object> klass)
Convenient method that provides a less verbose way to create a ClassActionConfig.
|
ActionConfig |
ApplicationManager.action(Class<? extends Object> klass,
String innerAction)
Convenient method that provides a less verbose way to create a ClassActionConfig.
|
ActionConfig |
ApplicationManager.action(String name,
Class<? extends Object> klass)
Convenient method that provides a less verbose way to create an action config.
|
ActionConfig |
ApplicationManager.action(String name,
Class<? extends Object> klass,
String innerAction)
Convenient method that provides a less verbose way to create an action config.
|
ActionConfig |
ApplicationManager.add(ActionConfig ac)
Shorter version of addActionConfig.
|
ActionConfig |
ApplicationManager.addActionConfig(ActionConfig ac)
Register an ActionConfig for the Mentawai controller.
|
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.
|
ActionConfig |
ActionConfig.addFilter(Filter filter)
Adds a filter for the action.
|
ActionConfig |
ActionConfig.addFilter(Filter filter,
String... args)
Adds a filter to a list of inner actions.
|
ActionConfig |
ActionConfig.addFilter(Filter filter,
String innerAction)
Adds a filter for this inner action.
|
ActionConfig |
ActionConfig.addFilter(List filters)
Adds a list of filter for the action.
|
ActionConfig |
ActionConfig.addFilter(List filters,
String innerAction)
Adds a list of filter for the inner action.
|
ActionConfig |
ActionConfig.addFilterFirst(Filter filter)
Adds a filter that will be executed before the global filters.
|
ActionConfig |
ActionConfig.addFilterFirst(Filter filter,
String innerAction)
Adds a filter that will be executed before the global filters.
|
ActionConfig |
ActionConfig.addFilterFirst(List filters)
Add a list of filters that will be executed before the global filters.
|
ActionConfig |
ActionConfig.addFilterFirst(List filters,
String innerAction)
Adds a list of filters that will be executed before the global filters.
|
ActionConfig |
ActionConfig.ajaxError(AjaxRenderer renderer)
Shorter version of a AjaxConsequence error.
|
ActionConfig |
ActionConfig.ajaxOk(AjaxRenderer renderer)
Shorter version of a AjaxConsequence success.
|
ActionConfig |
ActionConfig.all(Consequence c) |
ActionConfig |
ActionConfig.authorize(Enum<?>... es) |
ActionConfig |
ActionConfig.authorize(String... groups) |
ActionConfig |
ActionConfig.bypassAuthentication()
Indicate that this action should NOT be authenticated.
|
ActionConfig |
ActionConfig.catchAll(Consequence c) |
ActionConfig |
ActionConfig.chainError(ActionConfig actionConfig)
Shorter version of chain on error
|
ActionConfig |
ActionConfig.chainOk(ActionConfig actionConfig)
Shorter version of chain on success
|
ActionConfig |
ActionConfig.comeBackAfterLogin()
Indicate that this action redirects after login.
|
ActionConfig |
ActionConfig.fileUpload() |
ActionConfig |
ActionConfig.fileUpload(int maxInMemorySize) |
ActionConfig |
ActionConfig.fileUpload(int maxInMemorySize,
int maxSizeToThrowError) |
ActionConfig |
ActionConfig.fileUpload(int maxInMemorySize,
int maxSizeToThrowError,
String tempDirInsideWebInf) |
ActionConfig |
ActionConfig.fileUpload(int maxInMemorySize,
String tempDirInsideWebInf) |
ActionConfig |
ActionConfig.filter(Filter filter)
Shorter version of addFilter.
|
ActionConfig |
ActionConfig.filter(Filter filter,
String... args)
Shorter version.
|
ActionConfig |
ActionConfig.filter(Filter filter,
String innerAction)
Shorter version of addFilter.
|
ActionConfig |
ActionConfig.filter(List filters)
Shorter version of addFilter.
|
ActionConfig |
ActionConfig.filter(List filters,
String innerAction)
Shorter version of addFilter.
|
ActionConfig |
ActionConfig.filterFirst(Filter filter)
Add a list of filters that will be executed before the global filters.
|
ActionConfig |
ActionConfig.filterFirst(Filter filter,
String innerAction)
Add a list of filters that will be executed before the global filters.
|
ActionConfig |
ActionConfig.filterFirst(List filters)
Add a list of filters that will be executed before the global filters.
|
ActionConfig |
ActionConfig.filterFirst(List filters,
String innerAction)
Add a list of filters that will be executed before the global filters.
|
ActionConfig |
ActionConfig.fwdError(String page)
Shorter version of a forward on error.
|
ActionConfig |
ActionConfig.fwdOk(String page)
Shorter version of a forward on success.
|
ActionConfig |
InvocationChain.getActionConfig() |
ActionConfig |
ApplicationManager.getActionConfig(String name)
Gets the ActionConfig with the given name or alias.
|
ActionConfig |
ApplicationManager.getActionConfig(String name,
String innerAction)
Gets the Inner ActionConfig with the given name and inner action.
|
static ActionConfig |
ApplicationManager.getDefaultAction() |
ActionConfig |
ApplicationManager.internal(Class<? extends Object> klass,
String innerAction) |
ActionConfig |
ActionConfig.internalOnly() |
ActionConfig |
ActionConfig.methodParams(String... params) |
ActionConfig |
ActionConfig.on(String result,
Consequence c)
Shorter version of addConsequence.
|
ActionConfig |
ActionConfig.on(String result,
String jsp)
Shorter verions of addConsequence that will assume a forward.
|
ActionConfig |
ActionConfig.on(String result,
String innerAction,
Consequence c)
Shorter version of addConsequence.
|
ActionConfig |
ActionConfig.prettyURLParams(String... params) |
ActionConfig |
ActionConfig.redirError()
Shorter version of a redir on error.
|
ActionConfig |
ActionConfig.redirError(String page)
Shorter version of a redir on error.
|
ActionConfig |
ActionConfig.redirError(String page,
boolean flag)
Shorter version of a redir on error.
|
ActionConfig |
ActionConfig.redirOk()
Shorter version of a redir on success.
|
ActionConfig |
ActionConfig.redirOk(String page)
Shorter version of a redir on success.
|
ActionConfig |
ActionConfig.redirOk(String page,
boolean flag)
Shorter version of a redir on success.
|
ActionConfig |
ApplicationManager.ruby(String klass) |
ActionConfig |
ApplicationManager.ruby(String name,
String klass) |
ActionConfig |
ApplicationManager.ruby(String name,
String klass,
String innerAction) |
ActionConfig |
ApplicationManager.spring(String path,
String action)
Convenient method that provides a less verbose way to create a SpringActionConfig.
|
ActionConfig |
ApplicationManager.spring(String path,
String action,
String innerAction)
Convenient method that provides a less verbose way to create a
SpringActionConfig.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,ActionConfig> |
ApplicationManager.getActions() |
| Modifier and Type | Method and Description |
|---|---|
ActionConfig |
ApplicationManager.add(ActionConfig ac)
Shorter version of addActionConfig.
|
ActionConfig |
ApplicationManager.addActionConfig(ActionConfig ac)
Register an ActionConfig for the Mentawai controller.
|
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.
|
ActionConfig |
ActionConfig.chainError(ActionConfig actionConfig)
Shorter version of chain on error
|
ActionConfig |
ActionConfig.chainOk(ActionConfig actionConfig)
Shorter version of chain on success
|
static Consequence |
ApplicationManager.fwd(ActionConfig ac) |
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(ActionConfig ac)
Redir to an action.
|
static Consequence |
ApplicationManager.redir(ActionConfig ac,
boolean flag)
Redir to an action.
|
boolean |
ApplicationManager.removeActionConfig(ActionConfig ac)
Remove an action config from this application manager.
|
static void |
ApplicationManager.setDefaultAction(ActionConfig ac) |
| Constructor and Description |
|---|
Chain(ActionConfig ac)
Creates a chain consequence for the given ActionConfig.
|
Chain(ActionConfig ac,
String innerAction)
Creates a chain consequence for the given ActionConfig
|
ForwardToActionConsequence(ActionConfig ac)
Creates a chain consequence for the given ActionConfig.
|
ForwardToActionConsequence(ActionConfig ac,
String innerAction)
Creates a chain consequence for the given ActionConfig
|
InvocationChain(String actionName,
Action action,
ActionConfig ac)
Creates an InvocationChain for this action.
|
Redirect(ActionConfig ac) |
Redirect(ActionConfig ac,
boolean appendOutput) |
| Modifier and Type | Class and Description |
|---|---|
class |
GuiceActionConfig
ActionConfig to tightly integrate Google Guice.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RubyActionConfig |
| Modifier and Type | Class and Description |
|---|---|
class |
SpringActionConfig
ActionConfig for Spring support.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ActionUtils.call(ActionConfig ac) |
static String |
ActionUtils.call(ActionConfig ac,
Map<String,Object> params) |
static String |
ActionUtils.call(int port,
ActionConfig ac) |
static String |
ActionUtils.call(int port,
ActionConfig ac,
Map<String,Object> params) |
static String |
ActionUtils.call(String host,
ActionConfig ac) |
static String |
ActionUtils.call(String host,
ActionConfig ac,
Map<String,Object> params) |
static String |
ActionUtils.call(String host,
int port,
ActionConfig ac) |
static String |
ActionUtils.call(String host,
int port,
ActionConfig ac,
Map<String,Object> params) |
static void |
DebugServletFilter.debug(Action a,
String actionName,
String innerAction,
ActionConfig ac,
Locale pageLocale,
Locale actionLocale) |
static void |
DebugServletFilter.debug(StringBuffer sb,
String actionName,
String innerAction,
ActionConfig ac,
Locale pageLocale,
Locale actionLocale) |
static String |
ActionUtils.getUrlFrom(ActionConfig ac) |
static String |
ActionUtils.getUrlWithContextFrom(ActionConfig ac) |
Copyright © 2015. All Rights Reserved.