Uses of Class
org.apache.struts.config.ForwardConfig
Packages that use ForwardConfig
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 ForwardConfig in org.apache.struts.action
Subclasses of ForwardConfig in org.apache.struts.actionModifier and TypeClassDescriptionclassAn ActionForward represents a destination to which the controller, RequestProcessor, might be directed to perform a RequestDispatcher.forward or HttpServletResponse.sendRedirect to, as a result of processing activities of an Action class.classA subclass ofActionForwardwhich is designed for use in redirecting requests, with support for adding parameters at runtime.classA subclass ofActionForwardthat defaults theredirectattribute tofalse.classA subclass of ActionForward that defaults theredirectattribute totrue.Methods in org.apache.struts.action that return ForwardConfigModifier and TypeMethodDescriptionprotected 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.Methods in org.apache.struts.action with parameters of type ForwardConfigModifier and TypeMethodDescriptionprotected voidRequestProcessor.processForwardConfig(HttpServletRequest request, HttpServletResponse response, ForwardConfig forward) Forward or redirect to the specified destination, by the specified mechanism.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.Constructors in org.apache.struts.action with parameters of type ForwardConfigModifierConstructorDescriptionActionRedirect(ForwardConfig baseConfig) Construct a new instance with aForwardConfigobject to copy name, path, contextRelative, and arbitrary property values from. -
Uses of ForwardConfig in org.apache.struts.chain.commands
Methods in org.apache.struts.chain.commands that return ForwardConfigModifier and TypeMethodDescriptionprotected abstract ForwardConfigAbstractExecuteAction.execute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) Execute the specifiedAction, and return the resultingForwardConfig.protected abstract ForwardConfigAbstractSelectForward.forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected abstract ForwardConfigAbstractSelectInput.forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected abstract ForwardConfigAbstractExceptionHandler.handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) Perform the required handling of the specified exception.protected ForwardConfigAbstractSelectInput.inputForward(ActionConfig actionConfig, ModuleConfig moduleConfig, String input) Attempts to resolve the input as aForwardConfigattribute.Methods in org.apache.struts.chain.commands with parameters of type ForwardConfigModifier and TypeMethodDescriptionprotected abstract voidAbstractPerformForward.perform(ActionContext context, ForwardConfig forwardConfig) Perform the appropriate processing on the specifiedForwardConfig. -
Uses of ForwardConfig in org.apache.struts.chain.commands.servlet
Methods in org.apache.struts.chain.commands.servlet that return ForwardConfigModifier and TypeMethodDescriptionprotected ForwardConfigExecuteAction.execute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) Execute the specifiedAction, and return the resultingActionForward.protected ForwardConfigSelectForward.forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected ForwardConfigSelectInput.forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected ForwardConfigExceptionHandler.handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) Methods in org.apache.struts.chain.commands.servlet with parameters of type ForwardConfigModifier and TypeMethodDescriptionprotected voidPerformForward.perform(ActionContext context, ForwardConfig forwardConfig) Perform the appropriate processing on the specifiedForwardConfig. -
Uses of ForwardConfig in org.apache.struts.chain.contexts
Methods in org.apache.struts.chain.contexts that return ForwardConfigModifier and TypeMethodDescriptionActionContext.getForwardConfig()Get the ForwardConfig which has been identified as the basis for view-processing.ActionContextBase.getForwardConfig()Methods in org.apache.struts.chain.contexts with parameters of type ForwardConfigModifier and TypeMethodDescriptionvoidActionContext.setForwardConfig(ForwardConfig forward) Set the ForwardConfig which should be used as the basis of the view segment of the overall processing.voidActionContextBase.setForwardConfig(ForwardConfig forward) -
Uses of ForwardConfig in org.apache.struts.config
Fields in org.apache.struts.config with type parameters of type ForwardConfigModifier and TypeFieldDescriptionprotected HashMap<String, ForwardConfig> ActionConfig.forwardsThe set of local forward configurations for this action, if any, keyed by thenameproperty.Methods in org.apache.struts.config that return ForwardConfigModifier and TypeMethodDescriptionActionConfig.findForwardConfig(String name) Return the forward configuration for the specified key, if any; otherwise returnnull.ModuleConfig.findForwardConfig(String name) Return the forward configuration for the specified key, if any; otherwise returnnull.ActionConfig.findForwardConfigs()Return all forward configurations for this module.ModuleConfig.findForwardConfigs()Return the form bean configurations for this module.Methods in org.apache.struts.config with parameters of type ForwardConfigModifier and TypeMethodDescriptionvoidActionConfig.addForwardConfig(ForwardConfig config) Add a newForwardConfiginstance to the set of global forwards associated with this action.voidModuleConfig.addForwardConfig(ForwardConfig config) Add a newForwardConfiginstance to the set of global forwards associated with this module.voidForwardConfig.inheritFrom(ForwardConfig config) Inherit values that have not been overridden from the provided config object.voidActionConfig.removeForwardConfig(ForwardConfig config) Remove the specified forward configuration instance.voidModuleConfig.removeForwardConfig(ForwardConfig config) Remove the specified forward configuration instance.Constructors in org.apache.struts.config with parameters of type ForwardConfigModifierConstructorDescriptionForwardConfig(ForwardConfig copyMe) Construct a new instance based on the values of another ForwardConfig. -
Uses of ForwardConfig in org.apache.struts.config.impl
Fields in org.apache.struts.config.impl with type parameters of type ForwardConfigModifier and TypeFieldDescriptionprotected HashMap<String, ForwardConfig> ModuleConfigImpl.forwardsThe set of global forward configurations for this module, if any, keyed by thenameproperty.Methods in org.apache.struts.config.impl that return ForwardConfigModifier and TypeMethodDescriptionModuleConfigImpl.findForwardConfig(String name) Return the forward configuration for the specified key, if any; otherwise returnnull.ModuleConfigImpl.findForwardConfigs()Return the form bean configurations for this module.Methods in org.apache.struts.config.impl with parameters of type ForwardConfigModifier and TypeMethodDescriptionvoidModuleConfigImpl.addForwardConfig(ForwardConfig config) Add a newForwardConfiginstance to the set of global forwards associated with this module.voidModuleConfigImpl.removeForwardConfig(ForwardConfig config) Remove the specified forward configuration instance. -
Uses of ForwardConfig in org.apache.struts.util
Methods in org.apache.struts.util with parameters of type ForwardConfigModifier and TypeMethodDescriptionstatic StringRequestUtils.actionIdURL(ForwardConfig forward, HttpServletRequest request, ActionServlet servlet) Returns the true path of the destination action if the specified forward is an action-aliased URL.static StringRequestUtils.forwardURL(HttpServletRequest request, ForwardConfig forward) Return the context-relative URL that corresponds to the specifiedForwardConfig.static StringRequestUtils.forwardURL(HttpServletRequest request, ForwardConfig forward, ModuleConfig moduleConfig) Return the context-relative URL that corresponds to the specifiedForwardConfig.