Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I K L M N O P R S T U V

A

ACTION_REQUEST - Static variable in class org.mentawai.core.Forward
The action is set in the request with this name
APPLICATION_REQUEST - Static variable in class org.mentawai.core.Forward
The application context is set in the request with this name
Action - interface org.mentawai.core.Action.
Describes a Mentawai action, the central idea of the framework architecture.
ActionConfig - class org.mentawai.core.ActionConfig.
An ActionConfig links together an action implementation, an action name or alias, action results and action consequences.
ActionConfig(Class) - Constructor for class org.mentawai.core.ActionConfig
Creates an internal ActionConfig for the given action implementation.
ActionConfig(String, Class) - Constructor for class org.mentawai.core.ActionConfig
Creates an ActionConfig with the given name for the given action implementation.
ActionConfig(String, Class, String) - Constructor for class org.mentawai.core.ActionConfig
Creates an ActionConfig with the given name for the given inner action implementation.
ActionException - exception org.mentawai.core.ActionException.
An exception that can happen when an action is executed.
ActionException() - Constructor for class org.mentawai.core.ActionException
 
ActionException(Exception) - Constructor for class org.mentawai.core.ActionException
 
ActionException(String) - Constructor for class org.mentawai.core.ActionException
 
AjaxConsequence - class org.mentawai.core.AjaxConsequence.
UNDER CONSTRUCTION !!!
AjaxConsequence() - Constructor for class org.mentawai.core.AjaxConsequence
 
ApplicationContext - class org.mentawai.core.ApplicationContext.
Encapsulates a ServletContext as a context for Mentawai actions.
ApplicationContext(ServletContext) - Constructor for class org.mentawai.core.ApplicationContext
Creates a context for this ServletContext.
ApplicationManager - class org.mentawai.core.ApplicationManager.
The central abstract base manager which controls actions, filters, locales and data lists.
ApplicationManager() - Constructor for class org.mentawai.core.ApplicationManager
 
ac - Variable in class org.mentawai.core.Chain
 
action - Variable in class org.mentawai.core.InvocationChain
 
actionClass - Variable in class org.mentawai.core.ActionConfig
 
actions - Variable in class org.mentawai.core.ApplicationManager
 
addActionConfig(ActionConfig) - Method in class org.mentawai.core.ApplicationManager
Register an ActionConfig for the Mentawai controller.
addConsequence(String, Consequence) - Method in class org.mentawai.core.ActionConfig
Adds a consequence for the given result.
addConsequence(String, String, Consequence) - Method in class org.mentawai.core.ActionConfig
Adds a consequence for the given result of the given inner action.
addError(String) - Method in class org.mentawai.core.BaseAction
Adds an error to the action with the given number.
addError(int) - Method in class org.mentawai.core.BaseAction
Adds an error to the action with the given number.
addError(String, String) - Method in class org.mentawai.core.BaseAction
Adds an error to the action with the given number for the given field.
addError(String, int) - Method in class org.mentawai.core.BaseAction
Adds an error to the action with the given number for the given field.
addError(String, MessageContext) - Method in class org.mentawai.core.BaseAction
Adds an error to the action with the given number and context.
addError(int, MessageContext) - Method in class org.mentawai.core.BaseAction
Adds an error to the action with the given number and context.
addError(String, String, MessageContext) - Method in class org.mentawai.core.BaseAction
Adds an error to the action with the given number and context for the given field.
addError(String, int, MessageContext) - Method in class org.mentawai.core.BaseAction
Adds an error to the action with the given number and context for the given field.
addError(Message) - Method in class org.mentawai.core.BaseAction
Adds an error to the action.
addError(String, Message) - Method in class org.mentawai.core.BaseAction
Adds an error to the action for the given field.
addFilter(Filter) - Method in class org.mentawai.core.ActionConfig
Adds a filter for the action.
addFilter(Filter, String) - Method in class org.mentawai.core.ActionConfig
Adds a filter for this inner action.
addFilter(List) - Method in class org.mentawai.core.ActionConfig
Adds a list of filter for the action.
addFilter(List, String) - Method in class org.mentawai.core.ActionConfig
Adds a list of filter for the inner action.
addFilter(Filter) - Method in class org.mentawai.core.InvocationChain
 
addFilters(List) - Method in class org.mentawai.core.InvocationChain
 
addGlobalConsequence(String, Consequence) - Method in class org.mentawai.core.ApplicationManager
Register a consequence for all actions in this application manager.
addGlobalFilter(Filter) - Method in class org.mentawai.core.ApplicationManager
Register a filter for all actions in this application manager.
addGlobalFilter(List) - Method in class org.mentawai.core.ApplicationManager
Register a list of filters for all actions in this application manager.
addGlobalFilter(Filter, boolean) - Method in class org.mentawai.core.ApplicationManager
Register a filter for all actions in this application manager.
addGlobalFilter(List, boolean) - Method in class org.mentawai.core.ApplicationManager
Register a list of filters for all actions in this application manager.
addMessage(String) - Method in class org.mentawai.core.BaseAction
Adds a message to the action with the given number.
addMessage(int) - Method in class org.mentawai.core.BaseAction
Adds a message to the action with the given number.
addMessage(String, MessageContext) - Method in class org.mentawai.core.BaseAction
Adds a message to the action with the given number and context.
addMessage(int, MessageContext) - Method in class org.mentawai.core.BaseAction
Adds a message to the action with the given number and context.
addMessage(Message) - Method in class org.mentawai.core.BaseAction
Adds an message to the action.
appManager - Static variable in class org.mentawai.core.Controller
 
appendOutput - Variable in class org.mentawai.core.Redirect
 
application - Variable in class org.mentawai.core.BaseAction
 
application - Static variable in class org.mentawai.core.Controller
 
application - Variable in class org.mentawai.core.SingleInstanceBaseAction
 

B

BaseAction - class org.mentawai.core.BaseAction.
The abstract base implementation of a Mentawai action.
BaseAction() - Constructor for class org.mentawai.core.BaseAction
Creates a BaseAction.

C

CONTENT_DISPOSITION_KEY - Static variable in class org.mentawai.core.StreamConsequence
The default key ("contentDisposition") to look for in the action output.
CONTENT_LENGTH_KEY - Static variable in class org.mentawai.core.StreamConsequence
The default key ("contentLength") to look for in the action output.
Chain - class org.mentawai.core.Chain.
An action chaining consequence.
Chain(ActionConfig) - Constructor for class org.mentawai.core.Chain
Creates a chain consequence for the given ActionConfig.
Consequence - interface org.mentawai.core.Consequence.
Defines a Mentawai consequence.
ConsequenceException - exception org.mentawai.core.ConsequenceException.
An exception that can happen when a consequence is executed.
ConsequenceException() - Constructor for class org.mentawai.core.ConsequenceException
 
ConsequenceException(Exception) - Constructor for class org.mentawai.core.ConsequenceException
 
ConsequenceException(String) - Constructor for class org.mentawai.core.ConsequenceException
 
Context - interface org.mentawai.core.Context.
Describes the behavior of a Mentawai context.
ContextMap - class org.mentawai.core.ContextMap.
A simple Context that can be used for testing.
ContextMap() - Constructor for class org.mentawai.core.ContextMap
 
ContextMap(Map) - Constructor for class org.mentawai.core.ContextMap
 
Controller - class org.mentawai.core.Controller.
The Mentawai central controller.
Controller() - Constructor for class org.mentawai.core.Controller
 
clear() - Method in class org.mentawai.core.ApplicationContext
 
clear() - Method in class org.mentawai.core.InputRequest
 
clear() - Method in class org.mentawai.core.OutputResponse
 
clear() - Method in class org.mentawai.core.SessionContext
 
clone(Map) - Method in class org.mentawai.core.InputRequest
 
config - Static variable in class org.mentawai.core.Controller
 
consequences - Variable in class org.mentawai.core.ActionConfig
 
containsKey(Object) - Method in class org.mentawai.core.ApplicationContext
 
containsKey(Object) - Method in class org.mentawai.core.InputRequest
 
containsKey(Object) - Method in class org.mentawai.core.OutputResponse
 
containsKey(Object) - Method in class org.mentawai.core.SessionContext
 
containsValue(Object) - Method in class org.mentawai.core.ApplicationContext
 
containsValue(Object) - Method in class org.mentawai.core.InputRequest
 
containsValue(Object) - Method in class org.mentawai.core.OutputResponse
 
containsValue(Object) - Method in class org.mentawai.core.SessionContext
 
contentType - Variable in class org.mentawai.core.StreamConsequence
 
content_disposition_key - Variable in class org.mentawai.core.StreamConsequence
 
content_length_key - Variable in class org.mentawai.core.StreamConsequence
 
context - Variable in class org.mentawai.core.ApplicationContext
 
createInvocationChain(ActionConfig, Action, String) - Static method in class org.mentawai.core.Controller
 
cutSlash(String) - Method in class org.mentawai.core.ActionConfig
 

D

defineHeader(HttpServletResponse, Output) - Method in class org.mentawai.core.StreamConsequence
 
destroy() - Method in class org.mentawai.core.Controller
 
destroy() - Method in interface org.mentawai.core.Filter
Gives a chance to the filter to deallocalte any resources before it is destroyed.
dynamicUrl - Variable in class org.mentawai.core.Redirect
 

E

ERROR - Static variable in interface org.mentawai.core.Action
The action execution generated an error.
entrySet() - Method in class org.mentawai.core.ApplicationContext
 
entrySet() - Method in class org.mentawai.core.InputRequest
 
entrySet() - Method in class org.mentawai.core.OutputResponse
 
entrySet() - Method in class org.mentawai.core.SessionContext
 
execute() - Method in interface org.mentawai.core.Action
Executes the action, returning a result.
execute(Action, HttpServletRequest, HttpServletResponse) - Method in class org.mentawai.core.AjaxConsequence
 
execute(Action, HttpServletRequest, HttpServletResponse) - Method in class org.mentawai.core.Chain
 
execute(Action, HttpServletRequest, HttpServletResponse) - Method in interface org.mentawai.core.Consequence
Executes this consequence.
execute(Action, HttpServletRequest, HttpServletResponse) - Method in class org.mentawai.core.Forward
 
execute(Action, HttpServletRequest, HttpServletResponse) - Method in class org.mentawai.core.NullConsequence
This method does nothing.
execute(Action, HttpServletRequest, HttpServletResponse) - Method in class org.mentawai.core.Redirect
 
execute(Action, HttpServletRequest, HttpServletResponse) - Method in class org.mentawai.core.StreamConsequence
Executes the action, reading from the input stream the data that has to be flushed into the servlet output stream.

F

FIXED_MSG_CONTEXT - Static variable in class org.mentawai.core.BaseAction
 
Filter - interface org.mentawai.core.Filter.
A filter intercepts an action so it can modify its input and output, before and after the action is executed.
FilterException - exception org.mentawai.core.FilterException.
An exception that can happen when a filter is executed.
FilterException() - Constructor for class org.mentawai.core.FilterException
 
FilterException(Exception) - Constructor for class org.mentawai.core.FilterException
 
FilterException(String) - Constructor for class org.mentawai.core.FilterException
 
Forward - class org.mentawai.core.Forward.
A forward web consequence.
Forward(String) - Constructor for class org.mentawai.core.Forward
Creates a web consequence for the given url.
filter(InvocationChain) - Method in interface org.mentawai.core.Filter
Executes the filter.
filters - Variable in class org.mentawai.core.ActionConfig
 
filters - Variable in class org.mentawai.core.InvocationChain
 
forward(String, HttpServletRequest, HttpServletResponse) - Static method in class org.mentawai.core.Forward
Forward your web application to an URL.

G

get(Object) - Method in class org.mentawai.core.ApplicationContext
 
get(Object) - Method in class org.mentawai.core.InputRequest
 
get(Object) - Method in class org.mentawai.core.OutputResponse
 
get(Object) - Method in class org.mentawai.core.SessionContext
 
getAction() - Method in class org.mentawai.core.ActionConfig
Returns an action instance to be used with this request.
getAction() - Method in class org.mentawai.core.InvocationChain
Gets the action of this InvocationChain
getAction() - Method in class org.mentawai.core.SingleInstanceActionConfig
Returns an action instance to be used with this request.
getActionConfig(String) - Method in class org.mentawai.core.ApplicationManager
Gets the ActionConfig with the given name or alias.
getActionConfig(String, String) - Method in class org.mentawai.core.ApplicationManager
Gets the Inner ActionConfig with the given name and inner action.
getActionName(HttpServletRequest) - Method in class org.mentawai.core.Controller
 
getAllFilters() - Method in class org.mentawai.core.ApplicationManager
 
getApplication() - Method in interface org.mentawai.core.Action
Gets this action application context.
getApplication() - Method in class org.mentawai.core.BaseAction
 
getApplication() - Static method in class org.mentawai.core.Controller
Returns the ServletContext of your web application.
getApplication() - Method in class org.mentawai.core.SingleInstanceBaseAction
 
getApplicationManager() - Static method in class org.mentawai.core.Controller
Returnts the ApplicationManager of your web application.
getAttribute(String) - Method in class org.mentawai.core.ApplicationContext
 
getAttribute(String) - Method in interface org.mentawai.core.Context
Gets an attribute value associated with the given name.
getAttribute(String) - Method in class org.mentawai.core.ContextMap
 
getAttribute(String) - Method in class org.mentawai.core.SessionContext
 
getConsequence(String) - Method in class org.mentawai.core.ActionConfig
Gets the consequence for the given result.
getConsequence(String, String) - Method in class org.mentawai.core.ActionConfig
Gets the consequence for the given result of the given inner action.
getErrors() - Method in class org.mentawai.core.BaseAction
 
getFieldErrors() - Method in class org.mentawai.core.BaseAction
 
getFilters() - Method in class org.mentawai.core.ActionConfig
Returns the filters for this action.
getFilters(String) - Method in class org.mentawai.core.ActionConfig
Returns the filters for this inner action.
getGlobalConsequence(String) - Method in class org.mentawai.core.ApplicationManager
Gets a global consequence associated with the result.
getGlobalFilters(boolean) - Method in class org.mentawai.core.ApplicationManager
Gets the global filters registered in this application manager.
getGlobalFilters() - Method in class org.mentawai.core.ApplicationManager
Gets all the global filters registered in this application manager.
getHeader(String) - Method in interface org.mentawai.core.Input
Gets a header value from this input.
getHeader(String) - Method in class org.mentawai.core.InputMap
 
getHeader(String) - Method in class org.mentawai.core.InputRequest
 
getInnerAction() - Method in class org.mentawai.core.ActionConfig
Gets the inner action that this action config represents.
getInnerActionName(String) - Method in class org.mentawai.core.Controller
 
getInput() - Method in interface org.mentawai.core.Action
Gets the action input.
getInput() - Method in class org.mentawai.core.BaseAction
 
getInput() - Method in class org.mentawai.core.SingleInstanceBaseAction
 
getIntValue(String) - Method in interface org.mentawai.core.Input
Gets a a parameter value from this input as an int.
getIntValue(String) - Method in class org.mentawai.core.InputMap
 
getIntValue(String) - Method in class org.mentawai.core.InputRequest
Calls getStringValue() and tries to convert the string to an int.
getIntValues(String) - Method in interface org.mentawai.core.Input
Gets all parameter values with the given name as an int array.
getIntValues(String) - Method in class org.mentawai.core.InputMap
 
getIntValues(String) - Method in class org.mentawai.core.InputRequest
Calls getStringValues() and tries to convert each string value to an int.
getLocale() - Method in interface org.mentawai.core.Action
Gets the use locale for this action.
getLocale() - Method in class org.mentawai.core.BaseAction
 
getLocale() - Method in class org.mentawai.core.SingleInstanceBaseAction
 
getMessages() - Method in class org.mentawai.core.BaseAction
 
getMethod(String) - Method in class org.mentawai.core.InvocationChain
 
getName() - Method in class org.mentawai.core.ActionConfig
Gets the name or alias of this ActionConfig.
getOutput() - Method in interface org.mentawai.core.Action
Gets the action output.
getOutput() - Method in class org.mentawai.core.BaseAction
 
getOutput() - Method in class org.mentawai.core.SingleInstanceBaseAction
 
getRealPath() - Static method in class org.mentawai.core.ApplicationManager
Returns this web application's real path.
getRequest() - Method in class org.mentawai.core.InputRequest
Gets the HttpServletRequest this input encapsulates.
getResponse() - Method in class org.mentawai.core.OutputResponse
 
getServletContext() - Method in class org.mentawai.core.ApplicationContext
Gets the ServletContext associated with this ApplicationContext.
getSession() - Method in interface org.mentawai.core.Action
Gets this action session context.
getSession() - Method in class org.mentawai.core.BaseAction
 
getSession() - Method in class org.mentawai.core.SessionContext
Returns the HttpSession associated with this context.
getSession() - Method in class org.mentawai.core.SingleInstanceBaseAction
 
getStringValue(String) - Method in interface org.mentawai.core.Input
Gets a parameter value from this input as a String.
getStringValue(String) - Method in class org.mentawai.core.InputMap
 
getStringValue(String) - Method in class org.mentawai.core.InputRequest
If the parameter is not a String, its toString() method is called.
getStringValues(String) - Method in interface org.mentawai.core.Input
Gets all parameter values with the given name as a string array.
getStringValues(String) - Method in class org.mentawai.core.InputMap
 
getStringValues(String) - Method in class org.mentawai.core.InputRequest
If the parameter is not a String or a String array, a InputException will be thrown.
getValue(String) - Method in interface org.mentawai.core.Input
Gets a parameter value (any object) with the given name.
getValue(String) - Method in class org.mentawai.core.InputMap
 
getValue(String) - Method in class org.mentawai.core.InputRequest
 
getValue(String) - Method in interface org.mentawai.core.Output
Gets an output value by name.
getValue(String) - Method in class org.mentawai.core.OutputMap
 
getValue(String) - Method in class org.mentawai.core.OutputResponse
 
globalConsequences - Variable in class org.mentawai.core.ApplicationManager
 
globalFilters - Variable in class org.mentawai.core.ApplicationManager
 
globalFiltersLast - Variable in class org.mentawai.core.ApplicationManager
 

H

hasAttribute(String) - Method in class org.mentawai.core.ApplicationContext
 
hasAttribute(String) - Method in interface org.mentawai.core.Context
Returns true is an attribute exists with this name.
hasAttribute(String) - Method in class org.mentawai.core.ContextMap
 
hasAttribute(String) - Method in class org.mentawai.core.SessionContext
 
headers - Variable in class org.mentawai.core.InputMap
 

I

INPUT_REQUEST - Static variable in class org.mentawai.core.Forward
The action input is set in the request with this name
Input - interface org.mentawai.core.Input.
Defines the behavior of an action input.
InputException - exception org.mentawai.core.InputException.
An exception than can happen when trying to access an action input parameter.
InputException() - Constructor for class org.mentawai.core.InputException
 
InputException(Exception) - Constructor for class org.mentawai.core.InputException
 
InputException(String) - Constructor for class org.mentawai.core.InputException
 
InputMap - class org.mentawai.core.InputMap.
A simple Input that can be used for testing.
InputMap() - Constructor for class org.mentawai.core.InputMap
 
InputMap(Map) - Constructor for class org.mentawai.core.InputMap
 
InputRequest - class org.mentawai.core.InputRequest.
Encapsulates a HttpServletRequest as an Input for Mentawai actions.
InputRequest(HttpServletRequest) - Constructor for class org.mentawai.core.InputRequest
Creates an Input for the given HttpServletRequest.
InvocationChain - class org.mentawai.core.InvocationChain.
When an action is executed, a chain of filters is created.
InvocationChain(Action) - Constructor for class org.mentawai.core.InvocationChain
Creates an InvocationChain for this action.
init() - Method in class org.mentawai.core.ApplicationManager
Deprecated. Use init(Context application) instead.
init(Context) - Method in class org.mentawai.core.ApplicationManager
Override this method to do any initialization for your web application.
init(ServletConfig) - Method in class org.mentawai.core.Controller
 
initApplicationManager() - Method in class org.mentawai.core.Controller
 
innerAction - Variable in class org.mentawai.core.ActionConfig
 
innerAction - Variable in class org.mentawai.core.InvocationChain
 
innerActions - Variable in class org.mentawai.core.ApplicationManager
 
innerConsequences - Variable in class org.mentawai.core.ActionConfig
 
input - Variable in class org.mentawai.core.BaseAction
 
input - Variable in class org.mentawai.core.SingleInstanceBaseAction
 
instance - Variable in class org.mentawai.core.SingleInstanceActionConfig
 
invoke() - Method in class org.mentawai.core.InvocationChain
Invoke and execute the next step in this InvocationChain.
invokeAction(ActionConfig, Action, String) - Static method in class org.mentawai.core.Controller
Invoke an action and return the consequence generated by this invocation.
isEmpty() - Method in class org.mentawai.core.ApplicationContext
 
isEmpty() - Method in class org.mentawai.core.InputRequest
 
isEmpty() - Method in interface org.mentawai.core.Output
Returns true is this output has no values.
isEmpty() - Method in class org.mentawai.core.OutputMap
 
isEmpty() - Method in class org.mentawai.core.OutputResponse
 
isEmpty() - Method in class org.mentawai.core.SessionContext
 

K

keySet() - Method in class org.mentawai.core.ApplicationContext
 
keySet() - Method in class org.mentawai.core.InputRequest
 
keySet() - Method in class org.mentawai.core.OutputResponse
 
keySet() - Method in class org.mentawai.core.SessionContext
 
keys() - Method in interface org.mentawai.core.Input
Gets an iterator with all the parameter names.
keys() - Method in class org.mentawai.core.InputMap
 
keys() - Method in class org.mentawai.core.InputRequest
 
keys() - Method in interface org.mentawai.core.Output
Gets an iterator with the names of each output value.
keys() - Method in class org.mentawai.core.OutputMap
 
keys() - Method in class org.mentawai.core.OutputResponse
 

L

loadActions() - Method in class org.mentawai.core.ApplicationManager
Override this method to register actions and filters in this application manager.
loadLists() - Method in class org.mentawai.core.ApplicationManager
Override this method to control the data list loading process.
loadLocales() - Method in class org.mentawai.core.ApplicationManager
Override this method to specify the supported locales for your application.
loc - Variable in class org.mentawai.core.BaseAction
 
loc - Variable in class org.mentawai.core.SingleInstanceBaseAction
 

M

map - Variable in class org.mentawai.core.InputRequest
 
map - Variable in class org.mentawai.core.OutputMap
 
map - Variable in class org.mentawai.core.OutputResponse
 
msgContext - Variable in class org.mentawai.core.BaseAction
 

N

NullConsequence - class org.mentawai.core.NullConsequence.
A consequence that does nothing.
NullConsequence() - Constructor for class org.mentawai.core.NullConsequence
 
name - Variable in class org.mentawai.core.ActionConfig
 

O

Output - interface org.mentawai.core.Output.
Defines the behavior of an action output.
OutputMap - class org.mentawai.core.OutputMap.
A simple Output implementation backed up by a java.util.HashMap.
OutputMap() - Constructor for class org.mentawai.core.OutputMap
 
OutputResponse - class org.mentawai.core.OutputResponse.
A simple Output implementation backed up by a java.util.HashMap.
OutputResponse(HttpServletResponse) - Constructor for class org.mentawai.core.OutputResponse
 
org.mentawai.core - package org.mentawai.core
 
output - Variable in class org.mentawai.core.BaseAction
 
output - Variable in class org.mentawai.core.SingleInstanceBaseAction
 

P

put(Object, Object) - Method in class org.mentawai.core.ApplicationContext
 
put(Object, Object) - Method in class org.mentawai.core.InputRequest
 
put(Object, Object) - Method in class org.mentawai.core.OutputResponse
 
put(Object, Object) - Method in class org.mentawai.core.SessionContext
 
putAll(Map) - Method in class org.mentawai.core.ApplicationContext
 
putAll(Map) - Method in class org.mentawai.core.InputRequest
 
putAll(Map) - Method in class org.mentawai.core.OutputResponse
 
putAll(Map) - Method in class org.mentawai.core.SessionContext
 
putSlash(String) - Method in class org.mentawai.core.Forward
 
putSlash(String) - Method in class org.mentawai.core.Redirect
 

R

REALPATH - Static variable in class org.mentawai.core.ApplicationManager
 
REDIRURL_PARAM - Static variable in class org.mentawai.core.Redirect
The parameter's name in the output for the dynamic redirect
Redirect - class org.mentawai.core.Redirect.
A redirect web consequence.
Redirect(String) - Constructor for class org.mentawai.core.Redirect
Creates a normal redirect for the given url
Redirect(String, boolean) - Constructor for class org.mentawai.core.Redirect
Creates a redirect for the given url with dynamic parameters.
Redirect() - Constructor for class org.mentawai.core.Redirect
Creates a redirect with a dynamic url.
redirect(String, HttpServletRequest, HttpServletResponse) - Static method in class org.mentawai.core.Redirect
Redirect your web application to an URL.
remove(Object) - Method in class org.mentawai.core.ApplicationContext
 
remove(Object) - Method in class org.mentawai.core.InputRequest
 
remove(Object) - Method in class org.mentawai.core.OutputResponse
 
remove(Object) - Method in class org.mentawai.core.SessionContext
 
removeAttribute(String) - Method in class org.mentawai.core.ApplicationContext
 
removeAttribute(String) - Method in interface org.mentawai.core.Context
Removes an attribute associated with the given name.
removeAttribute(String) - Method in class org.mentawai.core.ContextMap
 
removeAttribute(String) - Method in class org.mentawai.core.SessionContext
 
removeValue(String) - Method in interface org.mentawai.core.Input
Removes a parameter from this input.
removeValue(String) - Method in class org.mentawai.core.InputMap
 
removeValue(String) - Method in class org.mentawai.core.InputRequest
 
removeValue(String) - Method in interface org.mentawai.core.Output
Removes an output value by name.
removeValue(String) - Method in class org.mentawai.core.OutputMap
 
removeValue(String) - Method in class org.mentawai.core.OutputResponse
 
req - Variable in class org.mentawai.core.InputRequest
 
req - Variable in class org.mentawai.core.SessionContext
 
res - Variable in class org.mentawai.core.OutputResponse
 
reset() - Method in class org.mentawai.core.ApplicationContext
Not supported by an ApplicationContext.
reset() - Method in interface org.mentawai.core.Context
Resets this context.
reset() - Method in class org.mentawai.core.ContextMap
 
reset() - Method in class org.mentawai.core.SessionContext
 

S

SESSION_REQUEST - Static variable in class org.mentawai.core.Forward
The session context is set in the request with this name
STREAM_KEY - Static variable in class org.mentawai.core.StreamConsequence
The default key ("stream") to look for in the action output.
SUCCESS - Static variable in interface org.mentawai.core.Action
The action execution was successful.
SessionContext - class org.mentawai.core.SessionContext.
Encapsulates a HttpSession as a context for Mentawai actions.
SessionContext(HttpServletRequest) - Constructor for class org.mentawai.core.SessionContext
Calls getSession(true) to get the session from this request and creates a context for that session.
SingleInstanceActionConfig - class org.mentawai.core.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.
SingleInstanceActionConfig(Action) - Constructor for class org.mentawai.core.SingleInstanceActionConfig
 
SingleInstanceActionConfig(String, Action) - Constructor for class org.mentawai.core.SingleInstanceActionConfig
 
SingleInstanceActionConfig(String, Action, String) - Constructor for class org.mentawai.core.SingleInstanceActionConfig
 
SingleInstanceBaseAction - class org.mentawai.core.SingleInstanceBaseAction.
This is the base class for single instance actions, in other words, those actions that will be instantiated only once and shared among all requests.
SingleInstanceBaseAction() - Constructor for class org.mentawai.core.SingleInstanceBaseAction
Creates a SingleInstanceBaseAction.
StreamConsequence - class org.mentawai.core.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.
StreamConsequence(String) - Constructor for class org.mentawai.core.StreamConsequence
Creates a new instance of the StreamConsequence class, with the given content-type
StreamConsequence(String, String) - Constructor for class org.mentawai.core.StreamConsequence
Creates a new instance of the StreamConsequence class, with the given content-type and key.
StreamConsequence(String, String, String) - Constructor for class org.mentawai.core.StreamConsequence
Creates a new instance of the StreamConsequence class, with the given content-type and key.
StreamConsequence(String, String, String, String) - Constructor for class org.mentawai.core.StreamConsequence
Creates a new instance of the StreamConsequence class, with the given content-type and key.
service(HttpServletRequest, HttpServletResponse) - Method in class org.mentawai.core.Controller
 
session - Variable in class org.mentawai.core.BaseAction
 
session - Variable in class org.mentawai.core.SessionContext
 
session - Variable in class org.mentawai.core.SingleInstanceBaseAction
 
setApplication(Context) - Method in interface org.mentawai.core.Action
Sets the application context for this action.
setApplication(Context) - Method in class org.mentawai.core.BaseAction
 
setApplication(Context) - Method in class org.mentawai.core.SingleInstanceBaseAction
 
setAttribute(String, Object) - Method in class org.mentawai.core.ApplicationContext
 
setAttribute(String, Object) - Method in interface org.mentawai.core.Context
Sets an attribute value associated with the given name.
setAttribute(String, Object) - Method in class org.mentawai.core.ContextMap
 
setAttribute(String, Object) - Method in class org.mentawai.core.SessionContext
 
setHeader(String, String) - Method in class org.mentawai.core.InputMap
 
setInnerAction(String) - Method in class org.mentawai.core.ActionConfig
 
setInnerAction(String) - Method in class org.mentawai.core.InvocationChain
Sets an inner action to be executed.
setInput(Input) - Method in interface org.mentawai.core.Action
Sets the input for this action.
setInput(Input) - Method in class org.mentawai.core.BaseAction
 
setInput(Input) - Method in class org.mentawai.core.SingleInstanceBaseAction
 
setLocale(Locale) - Method in interface org.mentawai.core.Action
Sets the user locale for this action.
setLocale(Locale) - Method in class org.mentawai.core.BaseAction
 
setLocale(Locale) - Method in class org.mentawai.core.SingleInstanceBaseAction
 
setMessageContext(MessageContext) - Static method in class org.mentawai.core.BaseAction
Sets a fixed message context for all actions derived from BaseAction.
setOutput(Output) - Method in interface org.mentawai.core.Action
Sets the output for this action.
setOutput(Output) - Method in class org.mentawai.core.BaseAction
 
setOutput(Output) - Method in class org.mentawai.core.SingleInstanceBaseAction
 
setRealPath(String) - Static method in class org.mentawai.core.ApplicationManager
 
setSession(Context) - Method in interface org.mentawai.core.Action
Sets the session context for this action.
setSession(Context) - Method in class org.mentawai.core.BaseAction
 
setSession(Context) - Method in class org.mentawai.core.SingleInstanceBaseAction
 
setValue(String, Object) - Method in interface org.mentawai.core.Input
Sets a parameter value with the given name.
setValue(String, Object) - Method in class org.mentawai.core.InputMap
 
setValue(String, Object) - Method in class org.mentawai.core.InputRequest
 
setValue(String, Object) - Method in interface org.mentawai.core.Output
Sets an output value by name.
setValue(String, Object) - Method in class org.mentawai.core.OutputMap
 
setValue(String, Object) - Method in class org.mentawai.core.OutputResponse
 
size() - Method in class org.mentawai.core.ApplicationContext
 
size() - Method in class org.mentawai.core.InputRequest
 
size() - Method in class org.mentawai.core.OutputResponse
 
size() - Method in class org.mentawai.core.SessionContext
 
stream_key - Variable in class org.mentawai.core.StreamConsequence
 

T

toString() - Method in class org.mentawai.core.ActionConfig
Returns the name of this ActionConfig.

U

url - Variable in class org.mentawai.core.Forward
 
url - Variable in class org.mentawai.core.Redirect
 

V

values() - Method in class org.mentawai.core.ApplicationContext
 
values - Variable in class org.mentawai.core.ContextMap
 
values - Variable in class org.mentawai.core.InputMap
 
values() - Method in class org.mentawai.core.InputRequest
 
values() - Method in class org.mentawai.core.OutputResponse
 
values() - Method in class org.mentawai.core.SessionContext
 

A B C D E F G H I K L M N O P R S T U V