Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ActionDispatcher - Class in org.apache.struts.extras.actions
-
Action helper class that dispatches to a public method in an Action.
- ActionDispatcher(Action) - Constructor for class org.apache.struts.extras.actions.ActionDispatcher
-
Construct an instance of this class from the supplied parameters.
- ActionDispatcher(Action, int) - Constructor for class org.apache.struts.extras.actions.ActionDispatcher
-
Construct an instance of this class from the supplied parameters.
- actionInstance - Variable in class org.apache.struts.extras.actions.ActionDispatcher
-
The associated Action to dispatch to.
- applyRuleSets(Digester) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Instantiate any
RuleSet
classes defined in therulesets
property and use them to add rules to ourDigester
.
B
- BaseAction - Class in org.apache.struts.extras.actions
-
BaseAction is provided as an intermediate class for shared funtionality between
Action
and any stock implementation provided in this package. - BaseAction() - Constructor for class org.apache.struts.extras.actions.BaseAction
C
- cancelled(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Dispatches to the target class' cancelled method, if present, otherwise returns null.
- cancelled(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.DispatchAction
-
Method which is dispatched to when the request is a cancel button submit.
- clazz - Variable in class org.apache.struts.extras.actions.ActionDispatcher
-
The Class instance of this
DispatchAction
class. - clazz - Variable in class org.apache.struts.extras.actions.DispatchAction
-
The Class instance of this
DispatchAction
class. - config - Variable in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
The
ModuleConfig
instance for our module. - configPath - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- configSource - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- copy(InputStream, OutputStream) - Method in class org.apache.struts.extras.actions.DownloadAction
-
Copy bytes from an
InputStream
to anOutputStream
.
D
- DEFAULT_BUFFER_SIZE - Static variable in class org.apache.struts.extras.actions.DownloadAction
-
If the
getBufferSize()
method is not overridden, this is the buffer size that will be used to transfer the data to the servlet output stream. - DEFAULT_FLAVOR - Static variable in class org.apache.struts.extras.actions.ActionDispatcher
-
Indicates "default" dispatch flavor.
- destroy() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Receive notification that our owning module is being shut down.
- destroy() - Method in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
Receive notification that our owning module is being shut down.
- digesterFromXml(String, String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Instantiate a Digester from an XML input stream using the Commons
DigesterLoader
. - digesterPath - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- digesterSource - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- DigestingPlugIn - Class in org.apache.struts.extras.plugins
-
An implementation of
PlugIn
which can be configured to instantiate a graph of objects using the Commons Digester and place the root object of that graph into the Application context. - DigestingPlugIn() - Constructor for class org.apache.struts.extras.plugins.DigestingPlugIn
-
Constructor for DigestingPlugIn.
- dispatch(ActionContext) - Method in class org.apache.struts.extras.actions.ActionDispatcher
- DISPATCH_FLAVOR - Static variable in class org.apache.struts.extras.actions.ActionDispatcher
-
Indicates flavor compatible with DispatchAction.
- DispatchAction - Class in org.apache.struts.extras.actions
-
An abstract Action that dispatches to a public method that is named by the request parameter whose name is specified by the
parameter
property of the corresponding ActionMapping. - DispatchAction() - Constructor for class org.apache.struts.extras.actions.DispatchAction
- dispatchMethod(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Dispatch to the specified method.
- dispatchMethod(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.extras.actions.DispatchAction
-
Dispatch to the specified method.
- dispatchMethod(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String, Method) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Dispatch to the specified method.
- DownloadAction - Class in org.apache.struts.extras.actions
-
This is an abstract base class that minimizes the amount of special coding that needs to be written to download a file.
- DownloadAction() - Constructor for class org.apache.struts.extras.actions.DownloadAction
- DownloadAction.FileStreamInfo - Class in org.apache.struts.extras.actions
-
A concrete implementation of the
StreamInfo
interface which simplifies the downloading of a file from the disk. - DownloadAction.ResourceStreamInfo - Class in org.apache.struts.extras.actions
-
A concrete implementation of the
StreamInfo
interface which simplifies the downloading of a web application resource. - DownloadAction.StreamInfo - Interface in org.apache.struts.extras.actions
-
The information on a file, or other stream, to be downloaded by the
DownloadAction
. - DynaValidatorActionForm - Class in org.apache.struts.extras.validator
-
This class extends DynaValidatorForm and provides basic field validation based on an XML file.
- DynaValidatorActionForm() - Constructor for class org.apache.struts.extras.validator.DynaValidatorActionForm
E
- EventActionDispatcher - Class in org.apache.struts.extras.actions
-
An Action helper class that dispatches to to one of the public methods that are named in the
parameter
attribute of the corresponding ActionMapping and matches a submission parameter. - EventActionDispatcher(Action) - Constructor for class org.apache.struts.extras.actions.EventActionDispatcher
-
Constructs a new object for the specified action.
- EventDispatchAction - Class in org.apache.struts.extras.actions
-
An Action that dispatches to to one of the public methods that are named in the
parameter
attribute of the corresponding ActionMapping and matches a submission parameter. - EventDispatchAction() - Constructor for class org.apache.struts.extras.actions.EventDispatchAction
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.DispatchAction
-
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.DownloadAction
-
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.ForwardAction
-
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.IncludeAction
-
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.LocaleAction
-
Change the user's
Locale
based onActionForm
properties. - execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.LookupDispatchAction
-
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.MappingDispatchAction
-
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
- execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.SwitchAction
-
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
F
- FileStreamInfo(String, File) - Constructor for class org.apache.struts.extras.actions.DownloadAction.FileStreamInfo
-
Constructs an instance of this class, based on the supplied parameters.
- flavor - Variable in class org.apache.struts.extras.actions.ActionDispatcher
-
Indicates dispatch flavor.
- ForwardAction - Class in org.apache.struts.extras.actions
-
An Action that forwards to the context-relative URI specified by the
parameter
property of our associatedActionMapping
. - ForwardAction() - Constructor for class org.apache.struts.extras.actions.ForwardAction
G
- getBufferSize() - Method in class org.apache.struts.extras.actions.DownloadAction
-
Returns the size of the buffer to be used in transferring the data to the servlet output stream.
- getClassPathURL(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Given a string, return a URL to a classpath resource of that name.
- getConfigPath() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- getConfigSource() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- getConfigURL(String, String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Look up a resource path using one of a set of known path resolution mechanisms and return a URL to the resource.
- getContentType() - Method in class org.apache.struts.extras.actions.DownloadAction.FileStreamInfo
-
Returns the content type of the stream to be downloaded.
- getContentType() - Method in class org.apache.struts.extras.actions.DownloadAction.ResourceStreamInfo
-
Returns the content type of the stream to be downloaded.
- getContentType() - Method in interface org.apache.struts.extras.actions.DownloadAction.StreamInfo
-
Returns the content type of the stream to be downloaded.
- getDigesterPath() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- getDigesterSource() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- getFileURL(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Given a string, return a URL to a Filesystem resource of that name.
- getInputStream() - Method in class org.apache.struts.extras.actions.DownloadAction.FileStreamInfo
-
Returns an input stream on the file to be downloaded.
- getInputStream() - Method in class org.apache.struts.extras.actions.DownloadAction.ResourceStreamInfo
-
Returns an input stream on the resource to be downloaded.
- getInputStream() - Method in interface org.apache.struts.extras.actions.DownloadAction.StreamInfo
-
Returns an input stream on the content to be downloaded.
- getKey() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- getKeyMethodMap() - Method in class org.apache.struts.extras.actions.LookupDispatchAction
-
Provides the mapping from resource key to method name.
- getLookupMapName(HttpServletRequest, String, ActionMapping) - Method in class org.apache.struts.extras.actions.LookupDispatchAction
-
Lookup the method name corresponding to the client request's locale.
- getMethod(String) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Introspect the current class to identify a method of the specified name that accepts the same parameter types as the
execute
method does. - getMethod(String) - Method in class org.apache.struts.extras.actions.DispatchAction
-
Introspect the current class to identify a method of the specified name that accepts the same parameter types as the
execute
method does. - getMethodName(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Returns the method name, given a parameter's value.
- getMethodName(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.extras.actions.DispatchAction
-
Returns the method name, given a parameter's value.
- getMethodName(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.extras.actions.EventActionDispatcher
-
Returns the method name, given a parameter's value.
- getMethodName(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.extras.actions.EventDispatchAction
-
Returns the method name, given a parameter's value.
- getMethodName(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.extras.actions.LookupDispatchAction
-
Returns the method name, given a parameter's value.
- getMethodName(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.struts.extras.actions.MappingDispatchAction
-
Returns the method name, given a parameter's value.
- getParameter(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Returns the parameter value as influenced by the selected
ActionDispatcher.flavor
specified for thisActionDispatcher
. - getParameter(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.DispatchAction
-
Returns the parameter value.
- getParameter(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.MappingDispatchAction
-
Returns the parameter value.
- getPush() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- getRulesets() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- getServletContextURL(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Given a string, return a URL to a Servlet Context resource of that name.
- getStreamInfo(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.DownloadAction
-
Returns the information on the file, or other stream, to be downloaded by this action.
- getValidationKey(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.extras.validator.DynaValidatorActionForm
-
Returns the Validation key.
- getValidationKey(ActionMapping, HttpServletRequest) - Method in class org.apache.struts.extras.validator.ValidatorActionForm
-
Returns the Validation key.
I
- IncludeAction - Class in org.apache.struts.extras.actions
-
An Action that includes the context-relative URI specified by the
parameter
property of our associatedActionMapping
. - IncludeAction() - Constructor for class org.apache.struts.extras.actions.IncludeAction
- init(ActionServlet, ModuleConfig) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Initialize a
Digester
and use it to parse a configuration file, resulting in a root object which will be placed into the ServletContext. - init(ActionServlet, ModuleConfig) - Method in class org.apache.struts.extras.plugins.ModuleConfigVerifier
- initializeDigester() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Initialize the
Digester
which will be used to process the main configuration. - isCancelled(HttpServletRequest) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Returns
true
if the current form's cancel button was pressed. - isFatal() - Method in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
Return the "configuation errors are fatal" flag.
K
- key - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- keyMethodMap - Variable in class org.apache.struts.extras.actions.LookupDispatchAction
-
Resource key to method name lookup.
L
- LocaleAction - Class in org.apache.struts.extras.actions
-
Implementation of Action that changes the user's
Locale
and forwards to a page, based on request level parameters that are set (language, country, & page). - LocaleAction() - Constructor for class org.apache.struts.extras.actions.LocaleAction
- localeMap - Variable in class org.apache.struts.extras.actions.LookupDispatchAction
-
Reverse lookup map from resource value to resource key.
- LookupDispatchAction - Class in org.apache.struts.extras.actions
-
An abstract Action that dispatches to the subclass mapped
execute
method. - LookupDispatchAction() - Constructor for class org.apache.struts.extras.actions.LookupDispatchAction
M
- MAPPING_FLAVOR - Static variable in class org.apache.struts.extras.actions.ActionDispatcher
-
Indicates "mapping" dispatch flavor.
- MappingDispatchAction - Class in org.apache.struts.extras.actions
-
An abstract Action that dispatches to a public method that is named by the
parameter
attribute of the corresponding ActionMapping. - MappingDispatchAction() - Constructor for class org.apache.struts.extras.actions.MappingDispatchAction
- messages - Static variable in class org.apache.struts.extras.actions.ActionDispatcher
-
The message resources for this package.
- messages - Static variable in class org.apache.struts.extras.actions.BaseAction
-
The message resources for this package.
- methods - Variable in class org.apache.struts.extras.actions.ActionDispatcher
-
The set of Method objects we have introspected for this class, keyed by method name.
- methods - Variable in class org.apache.struts.extras.actions.DispatchAction
-
The set of Method objects we have introspected for this class, keyed by method name.
- moduleConfig - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- ModuleConfigVerifier - Class in org.apache.struts.extras.plugins
-
Convenient implementation of
PlugIn
that performs as many verification tests on the information stored in theModuleConfig
for this module as is practical. - ModuleConfigVerifier() - Constructor for class org.apache.struts.extras.plugins.ModuleConfigVerifier
N
- newDigesterInstance() - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Instantiate a
Digester
.
O
- org.apache.struts.extras.actions - package org.apache.struts.extras.actions
-
The actions package provides special adapters between the incoming HTTP request and the corresponding business logic.
- org.apache.struts.extras.plugins - package org.apache.struts.extras.plugins
- org.apache.struts.extras.validator - package org.apache.struts.extras.validator
P
- Package Specification - Search tag in package org.apache.struts.extras.actions
- Section
- push - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
R
- Related Documentation - Search tag in package org.apache.struts.extras.actions
- Section
- ResourceStreamInfo(String, ServletContext, String) - Constructor for class org.apache.struts.extras.actions.DownloadAction.ResourceStreamInfo
-
Constructs an instance of this class, based on the supplied parameters.
- rulesets - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
S
- servlet - Variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- servlet - Variable in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
The
ActionServlet
instance we are associated with. - setConfigPath(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- setConfigSource(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
Set the source of the config file.
- setDigesterPath(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
The path to a Digester XML configuration file, relative to the
digesterSource
property. - setDigesterSource(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
The lookup mechanism to be used to resolve
digesterPath
(optional). - setFatal(boolean) - Method in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
Set the "configuration errors are fatal" flag.
- setKey(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
- setPush(boolean) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
If set to
true
, this PlugIn will be pushed onto the Digester stack before the digesterparse
method is called. - setRulesets(String) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
A comma-delimited list of one or more classes which implement
org.apache.commons.digester.RuleSet
. - SOURCE_CLASSPATH - Static variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- SOURCE_FILE - Static variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- SOURCE_SERVLET - Static variable in class org.apache.struts.extras.plugins.DigestingPlugIn
- storeGeneratedObject(Object) - Method in class org.apache.struts.extras.plugins.DigestingPlugIn
-
This method is called after the Digester runs to store the generated object somewhere.
- SwitchAction - Class in org.apache.struts.extras.actions
-
A standard Action that switches to a new module and then forwards control to a URI (specified in a number of possible ways) within the new module.
- SwitchAction() - Constructor for class org.apache.struts.extras.actions.SwitchAction
T
- types - Variable in class org.apache.struts.extras.actions.ActionDispatcher
-
The set of argument type classes for the reflected method call.
- types - Variable in class org.apache.struts.extras.actions.DispatchAction
-
The set of argument type classes for the reflected method call.
U
- unspecified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.ActionDispatcher
-
Dispatches to the target class'
unspecified
method, if present, otherwise throws a ServletException. - unspecified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.DispatchAction
-
Method which is dispatched to when there is no value for specified request parameter included in the request.
- unspecified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.EventActionDispatcher
-
Dispatches to the target class'
unspecified
method, if present, otherwise throws a ServletException. - unspecified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.EventDispatchAction
-
Method which is dispatched to when there is no value for specified request parameter included in the request.
- unspecified(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts.extras.actions.MappingDispatchAction
-
Method which is dispatched to when there is no value for the parameter in the ActionMapping.
V
- ValidatorActionForm - Class in org.apache.struts.extras.validator
-
This class extends ValidatorForm and provides basic field validation based on an XML file.
- ValidatorActionForm() - Constructor for class org.apache.struts.extras.validator.ValidatorActionForm
- verifyActionMappingClass() - Method in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
Return
true
if information returned byconfig.getActionMappingClass
is all valid; otherwise, log error messages and returnfalse
. - verifyForwardConfigs() - Method in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
Return
true
if information returned byconfig.findForwardConfigs
is all valid; otherwise, log error messages and returnfalse
. - verifyMessageResourcesConfigs() - Method in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
Return
true
if information returned byconfig.findMessageResourcesConfigs
is all valid; otherwise, log error messages and returnfalse
. - verifyPlugInConfigs() - Method in class org.apache.struts.extras.plugins.ModuleConfigVerifier
-
Return
true
if information returned byconfig.findPluginConfigs
is all valid; otherwise, log error messages and returnfalse
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form