Class AbstractActionNameBuilder

java.lang.Object
org.apache.struts2.convention.AbstractActionNameBuilder
All Implemented Interfaces:
ActionNameBuilder
Direct Known Subclasses:
DefaultActionNameBuilder, SEOActionNameBuilder

public abstract class AbstractActionNameBuilder extends Object implements ActionNameBuilder
  • Constructor Details

    • AbstractActionNameBuilder

      public AbstractActionNameBuilder()
  • Method Details

    • setActionSuffix

      public void setActionSuffix(String actionSuffix)
      Parameters:
      actionSuffix - (Optional) Classes that end with these value will be mapped as actions (defaults to "Action")
    • checkActionName

      protected void checkActionName(String actionName)
    • truncateSuffixIfMatches

      protected String truncateSuffixIfMatches(String name)