Uses of Class
org.apache.struts.config.ActionConfig
Packages that use ActionConfig
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
Configurable commands that may be placed within the
request processor.
Commands which are particular to servlet processing.
This package provides objects that encapsulate access to
the request and session-scoped resources to service
command processing.
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file.Provides default implementation classes for the
configuration objects.
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
-
Uses of ActionConfig in org.apache.struts.action
Subclasses of ActionConfig in org.apache.struts.actionModifier and TypeClassDescriptionclassAn ActionMapping represents the information that the controller,RequestProcessor, knows about the mapping of a particular request to an instance of a particularActionclass.classSubclass ofActionMappingthat defaults the form bean scope torequest.classSubclass ofActionMappingthat defaults the form bean scope tosession.Methods in org.apache.struts.action that return ActionConfigModifier and TypeMethodDescriptionprotected ActionConfigActionServlet.processActionConfigClass(ActionConfig actionConfig, ModuleConfig moduleConfig) Checks if the current actionConfig is using the correct class based on the class of its ancestor ActionConfig.Methods in org.apache.struts.action with parameters of type ActionConfigModifier and TypeMethodDescriptionprotected ActionConfigActionServlet.processActionConfigClass(ActionConfig actionConfig, ModuleConfig moduleConfig) Checks if the current actionConfig is using the correct class based on the class of its ancestor ActionConfig.protected voidActionServlet.processActionConfigExtension(ActionConfig actionConfig, ModuleConfig moduleConfig) Extend the action's configuration as necessary.protected ExceptionConfigActionServlet.processExceptionConfigClass(ExceptionConfig exceptionConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Checks if the current exceptionConfig is using the correct class based on the class of its configuration ancestor.protected voidActionServlet.processExceptionExtension(ExceptionConfig exceptionConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Extend the exception's configuration as necessary.protected ForwardConfigActionServlet.processForwardConfigClass(ForwardConfig forwardConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Checks if the current forwardConfig is using the correct class based on the class of its configuration ancestor.protected voidActionServlet.processForwardExtension(ForwardConfig forwardConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Extend the forward's configuration as necessary. -
Uses of ActionConfig in org.apache.struts.chain.commands
Methods in org.apache.struts.chain.commands with parameters of type ActionConfigModifier and TypeMethodDescriptionprotected abstract ForwardConfigAbstractExecuteAction.execute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) Execute the specifiedAction, and return the resultingForwardConfig.protected abstract ActionAbstractCreateAction.getAction(ActionContext context, String type, ActionConfig actionConfig) Create and return the appropriateActionclass for the giventypeandactionConfig.protected abstract StringAbstractAuthorizeAction.getErrorMessage(ActionContext context, ActionConfig actionConfig) Retrieve error message from context.protected abstract StringAbstractSelectInput.getErrorMessage(ActionContext context, ActionConfig actionConfig) Retrieve error message from context.protected abstract ForwardConfigAbstractExceptionHandler.handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) Perform the required handling of the specified exception.protected voidAbstractPopulateActionForm.handleCancel(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Take into account whether the request includes any defined value for the global "cancel" parameter.protected ForwardConfigAbstractSelectInput.inputForward(ActionConfig actionConfig, ModuleConfig moduleConfig, String input) Attempts to resolve the input as aForwardConfigattribute.protected booleanAbstractAuthorizeAction.isAuthorizationRequired(ActionConfig actionConfig) Must authorization rules be consulted? The base implementation returnstrueif the givenActionConfighas one or more roles defined.protected abstract booleanAbstractAuthorizeAction.isAuthorized(ActionContext context, String[] roles, ActionConfig actionConfig) Determine if the action is authorized for the given roles.protected abstract booleanAbstractPopulateActionForm.isPopulate(ActionContext context, ActionConfig actionConfig) Determines whether an action form should be populated.protected abstract booleanAbstractPopulateActionForm.isReset(ActionContext context, ActionConfig actionConfig) Determines whether an action form should be resetprotected abstract voidAbstractPopulateActionForm.populate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Populate the givenActionFormwith request parameter values, taking into account any prefix/suffix values configured on the givenActionConfig.protected abstract voidAbstractPopulateActionForm.reset(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Call thereset()method on the specified form bean.protected StringAbstractPopulateActionForm.trimParameterName(ActionConfig actionConfig, String name) For a given request parameter name, trim off any prefix and/or suffix which are defined inactionConfigand return what remains.protected abstract ActionErrorsAbstractValidateActionForm.validate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Call thevalidate()method of the specified form bean, and return the resultingActionErrorsobject. -
Uses of ActionConfig in org.apache.struts.chain.commands.servlet
Methods in org.apache.struts.chain.commands.servlet with parameters of type ActionConfigModifier and TypeMethodDescriptionprotected ForwardConfigExecuteAction.execute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) Execute the specifiedAction, and return the resultingActionForward.protected ActionCreateAction.getAction(ActionContext context, String type, ActionConfig actionConfig) protected StringAuthorizeAction.getErrorMessage(ActionContext context, ActionConfig actionConfig) protected StringSelectInput.getErrorMessage(ActionContext context, ActionConfig actionConfig) protected ForwardConfigExceptionHandler.handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) protected booleanAuthorizeAction.isAuthorized(ActionContext context, String[] roles, ActionConfig mapping) protected booleanPopulateActionForm.isPopulate(ActionContext context, ActionConfig actionConfig) Determines whether an action form should be populated.protected booleanPopulateActionForm.isReset(ActionContext context, ActionConfig actionConfig) Determines whether an action form should be reset.protected voidPopulateActionForm.populate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) protected voidPopulateActionForm.reset(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) protected ActionErrorsValidateActionForm.validate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm) Call thevalidate()method of the specified form bean, and return the resultingActionErrorsobject. -
Uses of ActionConfig in org.apache.struts.chain.contexts
Methods in org.apache.struts.chain.contexts that return ActionConfigModifier and TypeMethodDescriptionActionContext.getActionConfig()Get the ActionConfig which contains the details for processing this request.ActionContextBase.getActionConfig()Methods in org.apache.struts.chain.contexts with parameters of type ActionConfigModifier and TypeMethodDescriptionvoidActionContext.setActionConfig(ActionConfig config) Set the ActionConfig class contains the details for processing this request.voidActionContextBase.setActionConfig(ActionConfig config) voidServletActionContext.setActionConfig(ActionConfig actionConfig) -
Uses of ActionConfig in org.apache.struts.config
Methods in org.apache.struts.config that return ActionConfigModifier and TypeMethodDescriptionprotected ActionConfigActionConfigMatcher.convertActionConfig(String path, ActionConfig orig, Map<String, String> vars) Clones the ActionConfig and its children, replacing various properties with the values of the wildcard-matched strings.ModuleConfig.findActionConfig(String path) Return the action configuration for the specified path, if any; otherwise returnnull.ModuleConfig.findActionConfigId(String actionId) Returns the action configuration for the specifed action action identifier.ModuleConfig.findActionConfigs()Return the action configurations for this module.Matches the path against the compiled wildcard patterns.Methods in org.apache.struts.config with parameters of type ActionConfigModifier and TypeMethodDescriptionvoidModuleConfig.addActionConfig(ActionConfig config) Add a newActionConfiginstance to the set associated with this module.protected booleanExceptionConfig.checkCircularInheritance(ModuleConfig moduleConfig, ActionConfig actionConfig) Traces the hierarchy of this object to check if any of the ancestors are extending this instance.protected booleanForwardConfig.checkCircularInheritance(ModuleConfig moduleConfig, ActionConfig actionConfig) Traces the hierarchy of this object to check if any of the ancestors are extending this instance.protected ActionConfigActionConfigMatcher.convertActionConfig(String path, ActionConfig orig, Map<String, String> vars) Clones the ActionConfig and its children, replacing various properties with the values of the wildcard-matched strings.protected voidActionConfig.inheritExceptionHandlers(ActionConfig baseConfig) Compare the exception handlers of this action with that of the given and copy those that are not present.protected voidActionConfig.inheritForwards(ActionConfig baseConfig) Compare the forwards of this action with that of the given and copy those that are not present.voidActionConfig.inheritFrom(ActionConfig config) Inherit values that have not been overridden from the provided config object.voidExceptionConfig.processExtends(ModuleConfig moduleConfig, ActionConfig actionConfig) Inherit configuration information from the ExceptionConfig that this instance is extending.voidForwardConfig.processExtends(ModuleConfig moduleConfig, ActionConfig actionConfig) Inherit configuration information from the ForwardConfig that this instance is extending.voidModuleConfig.removeActionConfig(ActionConfig config) Remove the specified action configuration instance.Constructors in org.apache.struts.config with parameters of type ActionConfigModifierConstructorDescriptionActionConfigMatcher(ActionConfig[] configs) Finds and precompiles the wildcard patterns from the ActionConfig "path" attributes. -
Uses of ActionConfig in org.apache.struts.config.impl
Fields in org.apache.struts.config.impl with type parameters of type ActionConfigModifier and TypeFieldDescriptionprotected HashMap<String, ActionConfig> ModuleConfigImpl.actionConfigIdsThe set of action configuration for this module, if any, keyed by theactionIdproperty.protected ArrayList<ActionConfig> ModuleConfigImpl.actionConfigListThe set of action configurations for this module, if any, listed in the order in which they are added.protected Map<String, ActionConfig> ModuleConfigImpl.actionConfigsThe set of action configurations for this module, if any, keyed by thepathproperty.Methods in org.apache.struts.config.impl that return ActionConfigModifier and TypeMethodDescriptionModuleConfigImpl.findActionConfig(String path) Return the action configuration for the specified path, first looking a direct match, then if none found, a wildcard pattern match; otherwise returnnull.ModuleConfigImpl.findActionConfigId(String actionId) Returns the action configuration for the specifed action action identifier.ModuleConfigImpl.findActionConfigs()Return the action configurations for this module.Methods in org.apache.struts.config.impl with parameters of type ActionConfigModifier and TypeMethodDescriptionvoidModuleConfigImpl.addActionConfig(ActionConfig config) Ad d a newActionConfiginstance to the set associated with this module.voidModuleConfigImpl.removeActionConfig(ActionConfig config) Remove the specified action configuration instance. -
Uses of ActionConfig in org.apache.struts.util
Methods in org.apache.struts.util with parameters of type ActionConfigModifier and TypeMethodDescriptionstatic StringRequestUtils.actionURL(HttpServletRequest request, ActionConfig action, String pattern) Return the context-relative URL that corresponds to the specifiedActionConfig, relative to the module associated with the current modules'sModuleConfig.