Class ConfluenceActionMapper

  • All Implemented Interfaces:
    org.apache.struts2.dispatcher.mapper.ActionMapper

    public class ConfluenceActionMapper
    extends org.apache.struts2.dispatcher.mapper.DefaultActionMapper
    Don't log (as in super) when we fall back to using the default action or namespace names. Our short form URLs for spaces, pages and other actions don't play nice with this validation.
    • Field Summary

      • Fields inherited from class org.apache.struts2.dispatcher.mapper.DefaultActionMapper

        ACTION_PREFIX, allowDynamicMethodCalls, allowedActionNames, allowedMethodNames, allowedNamespaceNames, allowSlashesInActionNames, alwaysSelectFullNamespace, container, defaultActionName, defaultMethodName, defaultNamespaceName, extensions, METHOD_PREFIX, prefixTrie
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected String cleanupActionName​(String rawActionName)  
      protected String cleanupNamespaceName​(String rawNamespace)  
      • Methods inherited from class org.apache.struts2.dispatcher.mapper.DefaultActionMapper

        addParameterAction, cleanupMethodName, dropExtension, extractMethodName, getDefaultExtension, getMapping, getMappingFromActionName, getUriFromActionMapping, handleDynamicMethod, handleExtension, handleName, handleNamespace, handleParams, handleSpecialParameters, isSlashesInActionNames, lookupExtension, parseActionName, parseNameAndNamespace, setAllowActionPrefix, setAllowDynamicMethodCalls, setAllowedActionNames, setAllowedMethodNames, setAllowedNamespaceNames, setAlwaysSelectFullNamespace, setContainer, setDefaultActionName, setDefaultMethodName, setDefaultNamespaceName, setExtensions, setSlashesInActionNames
    • Constructor Detail

      • ConfluenceActionMapper

        public ConfluenceActionMapper()
    • Method Detail

      • cleanupActionName

        protected String cleanupActionName​(String rawActionName)
        Overrides:
        cleanupActionName in class org.apache.struts2.dispatcher.mapper.DefaultActionMapper
      • cleanupNamespaceName

        protected String cleanupNamespaceName​(String rawNamespace)
        Overrides:
        cleanupNamespaceName in class org.apache.struts2.dispatcher.mapper.DefaultActionMapper