Class ConfluenceActionMapper

java.lang.Object
org.apache.struts2.dispatcher.mapper.DefaultActionMapper
com.atlassian.confluence.impl.struts.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    cleanupActionName(String rawActionName)
     
    protected String
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfluenceActionMapper

      public ConfluenceActionMapper()
  • Method Details

    • 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