Class ActionNamesAction

java.lang.Object
org.apache.struts2.ActionSupport
org.apache.struts2.config_browser.ActionNamesAction
All Implemented Interfaces:
Serializable, Action, ValidationAware, LocaleProvider, TextProvider, Validateable
Direct Known Subclasses:
ShowBeansAction, ShowConfigAction, ShowConstantsAction, ShowJarsAction

public class ActionNamesAction extends ActionSupport
ActionNamesAction
See Also:
  • Field Details

  • Constructor Details

    • ActionNamesAction

      public ActionNamesAction()
  • Method Details

    • setConfigurationHelper

      public void setConfigurationHelper(ConfigurationHelper cfg)
    • getActionNames

      public Set<String> getActionNames()
    • getNamespace

      public String getNamespace()
    • setNamespace

      public void setNamespace(String namespace)
    • setExtension

      public void setExtension(String ext)
    • getConfig

      public ActionConfig getConfig(String actionName)
    • getNamespaces

      public Set<String> getNamespaces()
    • getExtension

      public String getExtension()
    • execute

      public String execute() throws Exception
      Description copied from class: ActionSupport
      A default implementation that does nothing an returns "success".

      Subclasses should override this method to provide their business logic.

      See also Action.execute().

      Specified by:
      execute in interface Action
      Overrides:
      execute in class ActionSupport
      Returns:
      returns Action.SUCCESS
      Throws:
      Exception - can be thrown by subclasses.
    • index

      public String index() throws Exception
      Index action to support cooperation with REST plugin
      Returns:
      action result
      Throws:
      Exception
    • redirect

      public String redirect()