|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.CmsRewriteAliasMatcher
public class CmsRewriteAliasMatcher
Helper class used for matching rewrite aliases to incoming request URIs.
| Nested Class Summary | |
|---|---|
static class |
CmsRewriteAliasMatcher.RewriteResult
The result of a match operation. |
| Constructor Summary | |
|---|---|
CmsRewriteAliasMatcher(java.util.Collection<CmsRewriteAlias> aliases)
Creates a new matcher instance for the given list of rewrite aliases. |
|
| Method Summary | |
|---|---|
CmsRewriteAliasMatcher.RewriteResult |
match(java.lang.String path)
Tries to rewrite a given path, and either returns the rewrite result or null if no rewrite alias matched the path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsRewriteAliasMatcher(java.util.Collection<CmsRewriteAlias> aliases)
aliases - the list of rewrite aliases to be used for matching| Method Detail |
|---|
public CmsRewriteAliasMatcher.RewriteResult match(java.lang.String path)
path - the path to match
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||