public static class CmsRewriteAliasMatcher.RewriteResult
extends java.lang.Object
构造器和说明 |
---|
CmsRewriteAliasMatcher.RewriteResult(java.lang.String newPath,
CmsRewriteAlias alias)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
CmsRewriteAlias |
getAlias()
Gets the alias which matched the given path.
|
java.lang.String |
getNewPath()
Gets the path resulting from the rewrite.
|
public CmsRewriteAliasMatcher.RewriteResult(java.lang.String newPath, CmsRewriteAlias alias)
newPath
- the path resulting from the rewritealias
- the alias that matched the pathpublic CmsRewriteAlias getAlias()
public java.lang.String getNewPath()