Class CmsRewriteAliasMatcher.RewriteResult

    • Constructor Summary

      Constructors 
      Constructor Description
      RewriteResult​(java.lang.String newPath, CmsRewriteAlias alias)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CmsRewriteAlias getAlias()
      Gets the alias which matched the given path.
      java.lang.String getNewPath()
      Gets the path resulting from the rewrite.
      • Methods inherited from class java.lang.Object

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

      • RewriteResult

        public RewriteResult​(java.lang.String newPath,
                             CmsRewriteAlias alias)
        Creates a new instance.

        Parameters:
        newPath - the path resulting from the rewrite
        alias - the alias that matched the path
    • Method Detail

      • getAlias

        public CmsRewriteAlias getAlias()
        Gets the alias which matched the given path.

        Returns:
        the matching alias
      • getNewPath

        public java.lang.String getNewPath()
        Gets the path resulting from the rewrite.

        Returns:
        the new path